[INFO] cloning repository https://github.com/etesync/etebase-py [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etesync/etebase-py" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetesync%2Fetebase-py", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetesync%2Fetebase-py'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5afd1a546b8f030d1b97bcecfc5e8bf9799827b [INFO] checking etesync/etebase-py against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetesync%2Fetebase-py" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/etesync/etebase-py [INFO] finished tweaking git repo https://github.com/etesync/etebase-py [INFO] tweaked toml for git repo https://github.com/etesync/etebase-py written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/etesync/etebase-py on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/etesync/etebase-py 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.17 [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded normpath v1.1.1 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded python3-sys v0.7.2 [INFO] [stderr] Downloaded fs_at v0.1.10 [INFO] [stderr] Downloaded etebase v0.6.1 [INFO] [stderr] Downloaded cpython v0.7.2 [INFO] [stderr] Downloaded flapigen v0.6.1 [INFO] [stderr] Downloaded sodiumoxide v0.2.7 [INFO] [stderr] Downloaded libsodium-sys v0.2.7 [INFO] [stderr] Downloaded openssl-src v300.2.1+3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56f970947e0ab77e87f1a17a6ea334772064eccf93bb07a5039b773efa61316c [INFO] running `Command { std: "docker" "start" "-a" "56f970947e0ab77e87f1a17a6ea334772064eccf93bb07a5039b773efa61316c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56f970947e0ab77e87f1a17a6ea334772064eccf93bb07a5039b773efa61316c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f970947e0ab77e87f1a17a6ea334772064eccf93bb07a5039b773efa61316c", kill_on_drop: false }` [INFO] [stdout] 56f970947e0ab77e87f1a17a6ea334772064eccf93bb07a5039b773efa61316c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c900e555b6faf140bfa47170110b1da2090324b54ddf10665b9450555c9a9aea [INFO] running `Command { std: "docker" "start" "-a" "c900e555b6faf140bfa47170110b1da2090324b54ddf10665b9450555c9a9aea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Compiling cpython v0.7.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking fs_at v0.1.10 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Checking remove_dir_all v0.8.2 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.17 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling python3-sys v0.7.2 [INFO] [stderr] Compiling flapigen v0.6.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling etebase-python v0.31.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: etebase-python@0.31.9: Internal rustfmt error [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking etebase v0.6.1 [INFO] [stdout] warning: use of deprecated associated function `etebase::Account::is_etebase_server`: Use `Client::is_server_valid` instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:375 [INFO] [stdout] | [INFO] [stdout] 32 | ... [allow (unused)] use super :: * ; Ok (match Account :: is_etebase_server ((& * super :: py_client :: rust_instance (client , py)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `etebase::Account::is_etebase_server`: Use `Client::is_server_valid` instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:375 [INFO] [stdout] | [INFO] [stdout] 32 | ... [allow (unused)] use super :: * ; Ok (match Account :: is_etebase_server ((& * super :: py_client :: rust_instance (client , py)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `etebase::SignedInvitation::from_pubkey`: This method has been renamed to sender_pubkey() to avoid potential confusion regarding its name [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:1319 [INFO] [stdout] | [INFO] [stdout] 48 | ... [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `etebase::SignedInvitation::from_pubkey`: This method has been renamed to sender_pubkey() to avoid potential confusion regarding its name [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:1319 [INFO] [stdout] | [INFO] [stdout] 48 | ... [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:20:324 [INFO] [stdout] | [INFO] [stdout] 20 | ... } pub fn to_inner (& self) -> std :: sync :: MutexGuard < etebase :: Item > { self . inner . lock () . unwrap () } pub fn set_me... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | impl Item { pub fn new (inner : etebase :: Item) -> Self { Self { inner : Arc :: new (Mutex :: new (inner)) } } pub fn verify (& self) -> bool { self . inner . lock () . unwrap () . verify () . unwrap_or (false) } pub fn uid (& self) -> String { self . inner . lock () . unwrap () . uid () . to_owned () } pub fn to_inner (& self) -> std :: sync :: MutexGuard <'_, etebase :: Item > { self . inner . lock () . unwrap () } pub fn set_meta (& mut self , meta : & ItemMetadata) -> Result < () , Error > { self . inner . lock () . unwrap () . set_meta (meta) } pub fn meta (& self) -> Result < ItemMetadata , Error > { self . inner . lock () . unwrap () . meta () } pub fn set_meta_raw (& mut self , meta : & [u8]) -> Result < () , Error > { self . inner . lock () . unwrap () . set_meta_raw (meta) } pub fn meta_raw (& self) -> Result < Vec < u8 > , Error > { self . inner . lock () . unwrap () . meta_raw () } pub fn set_content (& mut self , content : & [u8]) -> Result < () , Error > { self . inner . lock () . unwrap () . set_content (content) } pub fn content (& self) -> Result < Vec < u8 > , Error > { self . inner . lock () . unwrap () . content () } pub fn delete (& mut self) -> Result < () , Error > { self . inner . lock () . unwrap () . delete () } pub fn is_missing_content (& self) -> bool { self . inner . lock () . unwrap () . is_missing_content () } pub fn is_deleted (& self) -> bool { self . inner . lock () . unwrap () . is_deleted () } pub fn etag (& self) -> String { self . inner . lock () . unwrap () . etag () . to_owned () } } [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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | ...)] cpython :: py_class ! (pub class Utils | py | { static __doc__ = "" ; # [doc = " "] @... } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Utils` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | ...)] cpython :: py_class ! (pub class Utils | py | { static __doc__ = "" ; # [doc = " "] @... } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Utils` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ...)] cpython :: py_class ! (pub class Client | py | { static __doc__ = "" ; data rust_insta...} }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Client` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ...)] cpython :: py_class ! (pub class Client | py | { static __doc__ = "" ; data rust_insta...} }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Client` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | ...)] cpython :: py_class ! (pub class User | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | ...)] cpython :: py_class ! (pub class User | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | ...)] cpython :: py_class ! (pub class Account | py | { static __doc__ = "" ; data rust_insta... }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^ [INFO] [stdout] | | [INFO] [stdout] | `Account` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | ...)] cpython :: py_class ! (pub class Account | py | { static __doc__ = "" ; data rust_insta... }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^ [INFO] [stdout] | | [INFO] [stdout] | `Account` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | ...)] cpython :: py_class ! (pub class RemovedCollection | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: RemovedCollection > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (RemovedCollection_ :: uid ((& * super :: py_removed_collection :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RemovedCollection` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | ...)] cpython :: py_class ! (pub class RemovedCollection | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: RemovedCollection > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (RemovedCollection_ :: uid ((& * super :: py_removed_collection :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RemovedCollection` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | ...)] cpython :: py_class ! (pub class CollectionListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match CollectionListResponse_ :: stoken ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection :: Collection > > { # [allow (unused)] use super :: * ; Ok ((CollectionListResponse :: data ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse :: done ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_removed_memberships (& self) -> cpython :: PyResult < Vec < super :: py_removed_collection :: RemovedCollection > > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse_ :: get_removed_memberships ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | ...)] cpython :: py_class ! (pub class CollectionListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match CollectionListResponse_ :: stoken ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection :: Collection > > { # [allow (unused)] use super :: * ; Ok ((CollectionListResponse :: data ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse :: done ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_removed_memberships (& self) -> cpython :: PyResult < Vec < super :: py_removed_collection :: RemovedCollection > > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse_ :: get_removed_memberships ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | ...)] cpython :: py_class ! (pub class ItemListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemListResponse_ :: stoken ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemListResponse_ :: data ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemListResponse :: done ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | ...)] cpython :: py_class ! (pub class ItemListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemListResponse_ :: stoken ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemListResponse_ :: data ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemListResponse :: done ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | ...)] cpython :: py_class ! (pub class ItemRevisionsListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemRevisionsListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemRevisionsListResponse_ :: iterator ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse_ :: data ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse :: done ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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| [INFO] [stdout] | `ItemRevisionsListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | ...)] cpython :: py_class ! (pub class ItemRevisionsListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemRevisionsListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemRevisionsListResponse_ :: iterator ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse_ :: data ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse :: done ((& * super :: py_item_revisions_list_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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemRevisionsListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | ... { cpython :: py_class ! (pub class PrefetchOption | py | { static __doc__ = "" ; static Auto = super :: PrefetchOption :: Auto as u32 ; static Medium = super :: PrefetchOption :: Medium as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefetchOption` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | ... { cpython :: py_class ! (pub class PrefetchOption | py | { static __doc__ = "" ; static Auto = super :: PrefetchOption :: Auto as u32 ; static Medium = super :: PrefetchOption :: Medium as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefetchOption` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | ...)] cpython :: py_class ! (pub class FetchOptions | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `FetchOptions` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | ...)] cpython :: py_class ! (pub class FetchOptions | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | ...)] cpython :: py_class ! (pub class ItemMetadata | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemMetadata` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | ...)] cpython :: py_class ! (pub class ItemMetadata | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemMetadata` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | ...)] cpython :: py_class ! (pub class CollectionManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionManager > ; # [doc = " "] def fetch (& self , col_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: fetch ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , col_uid , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create (& self , collection_type : & str , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , (& * super :: py_item_metadata :: rust_instance (meta , py) . lock () . unwrap ()) , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create_raw (& self , collection_type : & str , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create_raw ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , & meta . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_item_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_item_manager :: ItemManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: item_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_item_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list (& self , collection_type : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_multi (& self , collection_types : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list_multi ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_types . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def upload (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: upload ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def transaction (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: transaction ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_load ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save_with_content (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save_with_content ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_member_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_collection_member_manager :: CollectionMemberManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: member_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_collection_member_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | ...)] cpython :: py_class ! (pub class CollectionManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionManager > ; # [doc = " "] def fetch (& self , col_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: fetch ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , col_uid , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create (& self , collection_type : & str , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , (& * super :: py_item_metadata :: rust_instance (meta , py) . lock () . unwrap ()) , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create_raw (& self , collection_type : & str , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create_raw ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , & meta . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_item_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_item_manager :: ItemManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: item_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_item_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list (& self , collection_type : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_multi (& self , collection_types : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list_multi ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_types . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def upload (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: upload ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def transaction (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: transaction ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_load ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save_with_content (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save_with_content ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_member_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_collection_member_manager :: CollectionMemberManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: member_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_collection_member_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | ... { cpython :: py_class ! (pub class CollectionAccessLevel | py | { sta...: ReadWrite as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionAccessLevel` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | ... { cpython :: py_class ! (pub class CollectionAccessLevel | py | { sta...: ReadWrite as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionAccessLevel` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | ...)] cpython :: py_class ! (pub class Collection | py | { static __doc__ = "" ; data rust_insta... ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [INFO] [stdout] | | [INFO] [stdout] | `Collection` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | ...)] cpython :: py_class ! (pub class Collection | py | { static __doc__ = "" ; data rust_insta... ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [INFO] [stdout] | | [INFO] [stdout] | `Collection` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | ...)] cpython :: py_class ! (pub class Item | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | ...)] cpython :: py_class ! (pub class Item | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | ...)] cpython :: py_class ! (pub class UserProfile | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UserProfile` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | ...)] cpython :: py_class ! (pub class UserProfile | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UserProfile` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | ...)] cpython :: py_class ! (pub class InvitationListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: InvitationListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match InvitationListResponse_ :: iterator ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_signed_invitation :: SignedInvitation > > { # [allow (unused)] use super :: * ; Ok ((InvitationListResponse :: data ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (InvitationListResponse :: done ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InvitationListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | ...)] cpython :: py_class ! (pub class InvitationListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: InvitationListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match InvitationListResponse_ :: iterator ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_signed_invitation :: SignedInvitation > > { # [allow (unused)] use super :: * ; Ok ((InvitationListResponse :: data ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (InvitationListResponse :: done ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InvitationListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | ...)] cpython :: py_class ! (pub class CollectionInvitationManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionInvitationManager > ; # [doc = " "] def list_incoming (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_incoming ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_outgoing (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_outgoing ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def accept (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: accept ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def reject (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: reject ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def fetch_user_profile (& self , username : & str) -> cpython :: PyResult < super :: py_user_profile :: UserProfile > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: fetch_user_profile ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => super :: py_user_profile :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def invite (& self , collection : & super :: py_collection :: Collection , username : & str , pubkey : Vec < u8 > , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: invite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , username , & pubkey . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def disinvite (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: disinvite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (CollectionInvitationManager :: pubkey ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionInvitationManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | ...)] cpython :: py_class ! (pub class CollectionInvitationManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionInvitationManager > ; # [doc = " "] def list_incoming (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_incoming ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_outgoing (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_outgoing ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def accept (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: accept ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def reject (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: reject ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def fetch_user_profile (& self , username : & str) -> cpython :: PyResult < super :: py_user_profile :: UserProfile > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: fetch_user_profile ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => super :: py_user_profile :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def invite (& self , collection : & super :: py_collection :: Collection , username : & str , pubkey : Vec < u8 > , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: invite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , username , & pubkey . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def disinvite (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: disinvite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (CollectionInvitationManager :: pubkey ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionInvitationManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | ...)] cpython :: py_class ! (pub class SignedInvitation | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: SignedInvitation > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: uid ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: username ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_collection (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: collection ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: access_level ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) as u32) } # [doc = " "] def get_from_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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FO] [stdout] | | [INFO] [stdout] | `SignedInvitation` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | ...)] cpython :: py_class ! (pub class SignedInvitation | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: SignedInvitation > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: uid ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: username ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_collection (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: collection ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: access_level ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) as u32) } # [doc = " "] def get_from_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SignedInvitation` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:49:64 [INFO] [stdout] | [INFO] [stdout] 49 | ...)] cpython :: py_class ! (pub class CollectionMember | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMember > ; # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (CollectionMember_ :: username ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (CollectionMember :: access_level ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ())) as u32) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMember` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:49:64 [INFO] [stdout] | [INFO] [stdout] 49 | ...)] cpython :: py_class ! (pub class CollectionMember | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMember > ; # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (CollectionMember_ :: username ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (CollectionMember :: access_level ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ())) as u32) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMember` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...)] cpython :: py_class ! (pub class MemberListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: MemberListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match MemberListResponse_ :: iterator ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection_member :: CollectionMember > > { # [allow (unused)] use super :: * ; Ok ((MemberListResponse :: data ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (MemberListResponse :: done ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MemberListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...)] cpython :: py_class ! (pub class MemberListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: MemberListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match MemberListResponse_ :: iterator ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection_member :: CollectionMember > > { # [allow (unused)] use super :: * ; Ok ((MemberListResponse :: data ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (MemberListResponse :: done ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MemberListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ...)] cpython :: py_class ! (pub class CollectionMemberManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMemberManager > ; # [doc = " "] def list (& self , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_member_list_response :: MemberListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager_ :: list ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_member_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def remove (& self , username : & str) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: remove ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def leave (& self) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: leave ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def modify_access_level (& self , username : & str , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: modify_access_level ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMemberManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ...)] cpython :: py_class ! (pub class CollectionMemberManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMemberManager > ; # [doc = " "] def list (& self , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_member_list_response :: MemberListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager_ :: list ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_member_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def remove (& self , username : & str) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: remove ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def leave (& self) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: leave ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def modify_access_level (& self , username : & str , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: modify_access_level ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:20:324 [INFO] [stdout] | [INFO] [stdout] 20 | ... } pub fn to_inner (& self) -> std :: sync :: MutexGuard < etebase :: Item > { self . inner . lock () . unwrap () } pub fn set_me... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | impl Item { pub fn new (inner : etebase :: Item) -> Self { Self { inner : Arc :: new (Mutex :: new (inner)) } } pub fn verify (& self) -> bool { self . inner . lock () . unwrap () . verify () . unwrap_or (false) } pub fn uid (& self) -> String { self . inner . lock () . unwrap () . uid () . to_owned () } pub fn to_inner (& self) -> std :: sync :: MutexGuard <'_, etebase :: Item > { self . inner . lock () . unwrap () } pub fn set_meta (& mut self , meta : & ItemMetadata) -> Result < () , Error > { self . inner . lock () . unwrap () . set_meta (meta) } pub fn meta (& self) -> Result < ItemMetadata , Error > { self . inner . lock () . unwrap () . meta () } pub fn set_meta_raw (& mut self , meta : & [u8]) -> Result < () , Error > { self . inner . lock () . unwrap () . set_meta_raw (meta) } pub fn meta_raw (& self) -> Result < Vec < u8 > , Error > { self . inner . lock () . unwrap () . meta_raw () } pub fn set_content (& mut self , content : & [u8]) -> Result < () , Error > { self . inner . lock () . unwrap () . set_content (content) } pub fn content (& self) -> Result < Vec < u8 > , Error > { self . inner . lock () . unwrap () . content () } pub fn delete (& mut self) -> Result < () , Error > { self . inner . lock () . unwrap () . delete () } pub fn is_missing_content (& self) -> bool { self . inner . lock () . unwrap () . is_missing_content () } pub fn is_deleted (& self) -> bool { self . inner . lock () . unwrap () . is_deleted () } pub fn etag (& self) -> String { self . inner . lock () . unwrap () . etag () . to_owned () } } [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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | ...)] cpython :: py_class ! (pub class Utils | py | { static __doc__ = "" ; # [doc = " "] @... } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Utils` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | ...)] cpython :: py_class ! (pub class Utils | py | { static __doc__ = "" ; # [doc = " "] @... } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Utils` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ...)] cpython :: py_class ! (pub class Client | py | { static __doc__ = "" ; data rust_insta...} }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Client` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ...)] cpython :: py_class ! (pub class Client | py | { static __doc__ = "" ; data rust_insta...} }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Client` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | ...)] cpython :: py_class ! (pub class User | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | ...)] cpython :: py_class ! (pub class User | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | ...)] cpython :: py_class ! (pub class Account | py | { static __doc__ = "" ; data rust_insta... }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^ [INFO] [stdout] | | [INFO] [stdout] | `Account` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | ...)] cpython :: py_class ! (pub class Account | py | { static __doc__ = "" ; data rust_insta... }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^ [INFO] [stdout] | | [INFO] [stdout] | `Account` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | ...)] cpython :: py_class ! (pub class RemovedCollection | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: RemovedCollection > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (RemovedCollection_ :: uid ((& * super :: py_removed_collection :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RemovedCollection` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | ...)] cpython :: py_class ! (pub class RemovedCollection | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: RemovedCollection > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (RemovedCollection_ :: uid ((& * super :: py_removed_collection :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RemovedCollection` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | ...)] cpython :: py_class ! (pub class CollectionListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match CollectionListResponse_ :: stoken ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection :: Collection > > { # [allow (unused)] use super :: * ; Ok ((CollectionListResponse :: data ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse :: done ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_removed_memberships (& self) -> cpython :: PyResult < Vec < super :: py_removed_collection :: RemovedCollection > > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse_ :: get_removed_memberships ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | ...)] cpython :: py_class ! (pub class CollectionListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match CollectionListResponse_ :: stoken ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection :: Collection > > { # [allow (unused)] use super :: * ; Ok ((CollectionListResponse :: data ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse :: done ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_removed_memberships (& self) -> cpython :: PyResult < Vec < super :: py_removed_collection :: RemovedCollection > > { # [allow (unused)] use super :: * ; Ok (CollectionListResponse_ :: get_removed_memberships ((& * super :: py_collection_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | ...)] cpython :: py_class ! (pub class ItemListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemListResponse_ :: stoken ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemListResponse_ :: data ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemListResponse :: done ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | ...)] cpython :: py_class ! (pub class ItemListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemListResponse > ; # [doc = " "] def get_stoken (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemListResponse_ :: stoken ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemListResponse_ :: data ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemListResponse :: done ((& * super :: py_item_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | ...)] cpython :: py_class ! (pub class ItemRevisionsListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemRevisionsListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemRevisionsListResponse_ :: iterator ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse_ :: data ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse :: done ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemRevisionsListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | ...)] cpython :: py_class ! (pub class ItemRevisionsListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemRevisionsListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match ItemRevisionsListResponse_ :: iterator ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_item :: Item > > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse_ :: data ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ())) . into_iter () . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (ItemRevisionsListResponse :: done ((& * super :: py_item_revisions_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemRevisionsListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | ... { cpython :: py_class ! (pub class PrefetchOption | py | { static __doc__ = "" ; static Auto = super :: PrefetchOption :: Auto as u32 ; static Medium = super :: PrefetchOption :: Medium as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefetchOption` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | ... { cpython :: py_class ! (pub class PrefetchOption | py | { static __doc__ = "" ; static Auto = super :: PrefetchOption :: Auto as u32 ; static Medium = super :: PrefetchOption :: Medium as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PrefetchOption` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:38:60 [INFO] [stdout] | [INFO]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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `FetchOptions` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | ...)] cpython :: py_class ! (pub class FetchOptions | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `FetchOptions` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | ...)] cpython :: py_class ! (pub class ItemMetadata | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemMetadata` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | ...)] cpython :: py_class ! (pub class ItemMetadata | py | { static __doc__ = "" ; data rust_instan...... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemMetadata` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | ...)] cpython :: py_class ! (pub class CollectionManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionManager > ; # [doc = " "] def fetch (& self , col_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: fetch ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , col_uid , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create (& self , collection_type : & str , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , (& * super :: py_item_metadata :: rust_instance (meta , py) . lock () . unwrap ()) , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create_raw (& self , collection_type : & str , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create_raw ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , & meta . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_item_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_item_manager :: ItemManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: item_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_item_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list (& self , collection_type : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_multi (& self , collection_types : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list_multi ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_types . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def upload (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: upload ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def transaction (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: transaction ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_load ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save_with_content (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save_with_content ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_member_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_collection_member_manager :: CollectionMemberManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: member_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_collection_member_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | ...)] cpython :: py_class ! (pub class CollectionManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionManager > ; # [doc = " "] def fetch (& self , col_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: fetch ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , col_uid , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create (& self , collection_type : & str , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , (& * super :: py_item_metadata :: rust_instance (meta , py) . lock () . unwrap ()) , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def create_raw (& self , collection_type : & str , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: create_raw ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , & meta . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , & content . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_item_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_item_manager :: ItemManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: item_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_item_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list (& self , collection_type : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_type , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_multi (& self , collection_types : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_collection_list_response :: CollectionListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: list_multi ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , collection_types . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_collection_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def upload (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: upload ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def transaction (& self , collection : & super :: py_collection :: Collection , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionManager_ :: transaction ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_collection :: Collection > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_load ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def cache_save_with_content (& self , collection : & super :: py_collection :: Collection) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: cache_save_with_content ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ())) { Ok (ok_inner) => ok_inner . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_member_manager (& self , col : & super :: py_collection :: Collection) -> cpython :: PyResult < super :: py_collection_member_manager :: CollectionMemberManager > { # [allow (unused)] use super :: * ; Ok (match CollectionManager :: member_manager ((& * super :: py_collection_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (col , py) . lock () . unwrap ())) { Ok (ok_inner) => super :: py_collection_member_manager :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | 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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ItemManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | ... { cpython :: py_class ! (pub class CollectionAccessLevel | py | { sta...: ReadWrite as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionAccessLevel` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | ... { cpython :: py_class ! (pub class CollectionAccessLevel | py | { sta...: ReadWrite as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionAccessLevel` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | ...)] cpython :: py_class ! (pub class Collection | py | { static __doc__ = "" ; data rust_insta... ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [INFO] [stdout] | | [INFO] [stdout] | `Collection` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | ...)] cpython :: py_class ! (pub class Collection | py | { static __doc__ = "" ; data rust_insta... ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [INFO] [stdout] | | [INFO] [stdout] | `Collection` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | ...)] cpython :: py_class ! (pub class Item | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | ...)] cpython :: py_class ! (pub class Item | py | { static __doc__ = "" ; data rust_insta...) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Item` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | ...)] cpython :: py_class ! (pub class UserProfile | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UserProfile` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | ...)] cpython :: py_class ! (pub class UserProfile | py | { static __doc__ = "" ; data rust_instan... ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `UserProfile` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | ...)] cpython :: py_class ! (pub class InvitationListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: InvitationListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match InvitationListResponse_ :: iterator ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_signed_invitation :: SignedInvitation > > { # [allow (unused)] use super :: * ; Ok ((InvitationListResponse :: data ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (InvitationListResponse :: done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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InvitationListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | ...)] cpython :: py_class ! (pub class InvitationListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: InvitationListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match InvitationListResponse_ :: iterator ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_signed_invitation :: SignedInvitation > > { # [allow (unused)] use super :: * ; Ok ((InvitationListResponse :: data ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (InvitationListResponse :: done ((& * super :: py_invitation_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InvitationListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | ...)] cpython :: py_class ! (pub class CollectionInvitationManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionInvitationManager > ; # [doc = " "] def list_incoming (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_incoming ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_outgoing (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_outgoing ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def accept (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: accept ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def reject (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: reject ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def fetch_user_profile (& self , username : & str) -> cpython :: PyResult < super :: py_user_profile :: UserProfile > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: fetch_user_profile ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => super :: py_user_profile :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def invite (& self , collection : & super :: py_collection :: Collection , username : & str , pubkey : Vec < u8 > , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: invite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , username , & pubkey . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def disinvite (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: disinvite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (CollectionInvitationManager :: pubkey ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionInvitationManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:47:76 [INFO] [stdout] | [INFO] [stdout] 47 | ...)] cpython :: py_class ! (pub class CollectionInvitationManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionInvitationManager > ; # [doc = " "] def list_incoming (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_incoming ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def list_outgoing (& self , options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_invitation_list_response :: InvitationListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager_ :: list_outgoing ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , match options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_invitation_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def accept (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: accept ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def reject (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: reject ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def fetch_user_profile (& self , username : & str) -> cpython :: PyResult < super :: py_user_profile :: UserProfile > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: fetch_user_profile ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => super :: py_user_profile :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def invite (& self , collection : & super :: py_collection :: Collection , username : & str , pubkey : Vec < u8 > , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: invite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_collection :: rust_instance (collection , py) . lock () . unwrap ()) , username , & pubkey . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def disinvite (& self , invitation : & super :: py_signed_invitation :: SignedInvitation) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionInvitationManager :: disinvite ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_signed_invitation :: rust_instance (invitation , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def get_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (CollectionInvitationManager :: pubkey ((& * super :: py_collection_invitation_manager :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionInvitationManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | ...)] cpython :: py_class ! (pub class SignedInvitation | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: SignedInvitation > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: uid ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: username ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_collection (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: collection ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: access_level ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) as u32) } # [doc = " "] def get_from_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SignedInvitation` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | ...)] cpython :: py_class ! (pub class SignedInvitation | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: SignedInvitation > ; # [doc = " "] def get_uid (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: uid ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: username ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_collection (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (SignedInvitation_ :: collection ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: access_level ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) as u32) } # [doc = " "] def get_from_pubkey (& self) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (SignedInvitation :: from_pubkey ((& * super :: py_signed_invitation :: rust_instance (self , py) . lock () . unwrap ())) . iter () . cloned () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SignedInvitation` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:49:64 [INFO] [stdout] | [INFO] [stdout] 49 | ...)] cpython :: py_class ! (pub class CollectionMember | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMember > ; # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (CollectionMember_ :: username ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (CollectionMember :: access_level ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ())) as u32) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMember` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:49:64 [INFO] [stdout] | [INFO] [stdout] 49 | ...)] cpython :: py_class ! (pub class CollectionMember | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMember > ; # [doc = " "] def get_username (& self) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (CollectionMember_ :: username ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ()))) } # [doc = " "] def get_access_level (& self) -> cpython :: PyResult < u32 > { # [allow (unused)] use super :: * ; Ok (CollectionMember :: access_level ((& * super :: py_collection_member :: rust_instance (self , py) . lock () . unwrap ())) as u32) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMember` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...)] cpython :: py_class ! (pub class MemberListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: MemberListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match MemberListResponse_ :: iterator ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection_member :: CollectionMember > > { # [allow (unused)] use super :: * ; Ok ((MemberListResponse :: data ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (MemberListResponse :: done ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MemberListResponse` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | ...)] cpython :: py_class ! (pub class MemberListResponse | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: MemberListResponse > ; # [doc = " "] def get_iterator (& self) -> cpython :: PyResult < Option < String > > { # [allow (unused)] use super :: * ; Ok (match MemberListResponse_ :: iterator ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ())) { Some (inner) => Some (inner) , None => None }) } # [doc = " "] def get_data (& self) -> cpython :: PyResult < Vec < super :: py_collection_member :: CollectionMember > > { # [allow (unused)] use super :: * ; Ok ((MemberListResponse :: data ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) . clone () . into_iter () . map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) } # [doc = " "] def is_done (& self) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (MemberListResponse :: done ((& * super :: py_member_list_response :: rust_instance (self , py) . lock () . unwrap ()))) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MemberListResponse` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ...)] cpython :: py_class ! (pub class CollectionMemberManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMemberManager > ; # [doc = " "] def list (& self , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_member_list_response :: MemberListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager_ :: list ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_member_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def remove (& self , username : & str) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: remove ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def leave (& self) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: leave ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def modify_access_level (& self , username : & str , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: modify_access_level ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMemberManager` is not local [INFO] [stdout] | `PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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] --> /opt/rustwide/target/debug/build/etebase-python-6489b1855b0790dc/out/glue.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | ...)] cpython :: py_class ! (pub class CollectionMemberManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: CollectionMemberManager > ; # [doc = " "] def list (& self , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_member_list_response :: MemberListResponse > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager_ :: list ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_member_list_response :: create_instance (py , std :: sync :: Mutex :: new (ok_inner)) ? , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def remove (& self , username : & str) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: remove ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def leave (& self) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: leave ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ())) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } # [doc = " "] def modify_access_level (& self , username : & str , access_level : u32) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match CollectionMemberManager :: modify_access_level ((& * super :: py_collection_member_manager :: rust_instance (self , py) . lock () . unwrap ()) , username , super :: py_collection_access_level :: from_u32 (py , access_level) ?) { Ok (ok_inner) => { ok_inner ; py . None () } , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectionMemberManager` is not local [INFO] [stdout] | `PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (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 3m 10s [INFO] running `Command { std: "docker" "inspect" "c900e555b6faf140bfa47170110b1da2090324b54ddf10665b9450555c9a9aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c900e555b6faf140bfa47170110b1da2090324b54ddf10665b9450555c9a9aea", kill_on_drop: false }` [INFO] [stdout] c900e555b6faf140bfa47170110b1da2090324b54ddf10665b9450555c9a9aea