[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] 7e9e4244a144dd46383d8be950d3df79e28eb069 [INFO] checking etesync/etebase-py against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetesync%2Fetebase-py" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etesync/etebase-py on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.98 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded cvt v0.1.2 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded fs_at v0.1.10 [INFO] [stderr] Downloaded python3-sys v0.7.2 [INFO] [stderr] Downloaded reqwest v0.11.23 [INFO] [stderr] Downloaded cpython v0.7.2 [INFO] [stderr] Downloaded flapigen v0.6.1 [INFO] [stderr] Downloaded openssl v0.10.62 [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] [stderr] Downloaded etebase v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db84d932e5b3972623f8aad2590e50d11943a012d73da6a5c4d43a4f1d4de645 [INFO] running `Command { std: "docker" "start" "-a" "db84d932e5b3972623f8aad2590e50d11943a012d73da6a5c4d43a4f1d4de645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db84d932e5b3972623f8aad2590e50d11943a012d73da6a5c4d43a4f1d4de645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db84d932e5b3972623f8aad2590e50d11943a012d73da6a5c4d43a4f1d4de645", kill_on_drop: false }` [INFO] [stdout] db84d932e5b3972623f8aad2590e50d11943a012d73da6a5c4d43a4f1d4de645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8c2f394506f6f4de75a9b0646824887d25c56b40ac8844b93b04a2db70aaa7 [INFO] running `Command { std: "docker" "start" "-a" "2c8c2f394506f6f4de75a9b0646824887d25c56b40ac8844b93b04a2db70aaa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking cvt v0.1.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling cpython v0.7.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Checking fs_at v0.1.10 [INFO] [stderr] Checking remove_dir_all v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [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] Compiling python3-sys v0.7.2 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling flapigen v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.10 [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.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: etebase-python@0.31.7: Internal rustfmt error [INFO] [stderr] Compiling native-tls v0.2.11 [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 sodiumoxide v0.2.7 [INFO] [stderr] Checking etebase v0.6.0 [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-e5086684bf5a164d/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-e5086684bf5a164d/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-e5086684bf5a164d/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-e5086684bf5a164d/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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.45s [INFO] running `Command { std: "docker" "inspect" "2c8c2f394506f6f4de75a9b0646824887d25c56b40ac8844b93b04a2db70aaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8c2f394506f6f4de75a9b0646824887d25c56b40ac8844b93b04a2db70aaa7", kill_on_drop: false }` [INFO] [stdout] 2c8c2f394506f6f4de75a9b0646824887d25c56b40ac8844b93b04a2db70aaa7 [INFO] checking etesync/etebase-py against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetesync%2Fetebase-py" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etesync/etebase-py on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c442aaf142faa811c20f2ed63e198c93cdf29a81eb4618cb9da2afb40aad53fa [INFO] running `Command { std: "docker" "start" "-a" "c442aaf142faa811c20f2ed63e198c93cdf29a81eb4618cb9da2afb40aad53fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c442aaf142faa811c20f2ed63e198c93cdf29a81eb4618cb9da2afb40aad53fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c442aaf142faa811c20f2ed63e198c93cdf29a81eb4618cb9da2afb40aad53fa", kill_on_drop: false }` [INFO] [stdout] c442aaf142faa811c20f2ed63e198c93cdf29a81eb4618cb9da2afb40aad53fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf79db363bce5fb6a50afc8221f2e1df28c677e03c933ce8fe590e7fb8073dad [INFO] running `Command { std: "docker" "start" "-a" "bf79db363bce5fb6a50afc8221f2e1df28c677e03c933ce8fe590e7fb8073dad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking cvt v0.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling cpython v0.7.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Checking fs_at v0.1.10 [INFO] [stderr] Checking remove_dir_all v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling regex v1.10.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 env_logger v0.7.1 [INFO] [stderr] Compiling python3-sys v0.7.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling flapigen v0.6.1 [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 serde_bytes v0.11.12 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Compiling etebase-python v0.31.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: etebase-python@0.31.7: Internal rustfmt error [INFO] [stderr] Compiling native-tls v0.2.11 [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 sodiumoxide v0.2.7 [INFO] [stderr] Checking etebase v0.6.0 [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-e5086684bf5a164d/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-e5086684bf5a164d/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-e5086684bf5a164d/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-e5086684bf5a164d/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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:20:75 [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) ->... [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:11:260 [INFO] [stdout] | [INFO] [stdout] 11 | ... Item > { this . data () . iter () . map (| x | Item :: new (x . clone ())) . collect () } } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:13:291 [INFO] [stdout] | [INFO] [stdout] 13 | ... Item > { this . data () . iter () . map (| x | Item :: new (x . clone ())) . collect () } } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:1526 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:2330 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:2515 [INFO] [stdout] | [INFO] [stdout] 17 | ...> { let deps_v : Vec < _ > = deps . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let deps = deps_v . iter () .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:3048 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:3233 [INFO] [stdout] | [INFO] [stdout] 17 | ...> { let deps_v : Vec < _ > = deps . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let deps = deps_v . iter () .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:34:876 [INFO] [stdout] | [INFO] [stdout] 34 | ... . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython ... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:34:1625 [INFO] [stdout] | [INFO] [stdout] 34 | ... map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:35:810 [INFO] [stdout] | [INFO] [stdout] 35 | ... . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyR... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:36:880 [INFO] [stdout] | [INFO] [stdout] 36 | ... . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyR... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:450 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:3617 [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] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:4470 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:5400 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:6225 [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] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:421 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:2714 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:3542 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:4462 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:4625 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:5453 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6396 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6551 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6773 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7591 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7752 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7974 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:46:893 [INFO] [stdout] | [INFO] [stdout] 46 | ... map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpy... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:47:491 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:47:1311 [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] | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:50:865 [INFO] [stdout] | [INFO] [stdout] 50 | ... map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpy... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:51:468 [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] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: etebase-python@0.31.7: Internal rustfmt error [INFO] [stderr] [INFO] [stderr] error: could not compile `etebase-python` (lib) due to 35 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:20:75 [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) ->... [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:11:260 [INFO] [stdout] | [INFO] [stdout] 11 | ... Item > { this . data () . iter () . map (| x | Item :: new (x . clone ())) . collect () } } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:13:291 [INFO] [stdout] | [INFO] [stdout] 13 | ... Item > { this . data () . iter () . map (| x | Item :: new (x . clone ())) . collect () } } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:1526 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:2330 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:2515 [INFO] [stdout] | [INFO] [stdout] 17 | ...> { let deps_v : Vec < _ > = deps . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let deps = deps_v . iter () .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:3048 [INFO] [stdout] | [INFO] [stdout] 17 | ...; let items_v : Vec < _ > = items . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let items = items_v . iter ()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:17:3233 [INFO] [stdout] | [INFO] [stdout] 17 | ...> { let deps_v : Vec < _ > = deps . iter () . map (| x | x . inner . lock () . unwrap ()) . collect () ; let deps = deps_v . iter () .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:34:876 [INFO] [stdout] | [INFO] [stdout] 34 | ... . map (| inner | Ok (super :: py_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython ... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:34:1625 [INFO] [stdout] | [INFO] [stdout] 34 | ... map (| inner | Ok (super :: py_removed_collection :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:35:810 [INFO] [stdout] | [INFO] [stdout] 35 | ... . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyR... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:36:880 [INFO] [stdout] | [INFO] [stdout] 36 | ... . map (| inner | Ok (super :: py_item :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpython :: PyR... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:450 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:3617 [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] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:4470 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:5400 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:40:6225 [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] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:421 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:2714 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:3542 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:4462 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:4625 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:5453 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6396 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6551 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:6773 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7591 [INFO] [stdout] | [INFO] [stdout] 41 | ...)] cpython :: py_class ! (pub class ItemManager | py | { static __doc__ = "" ; data rust_instance : std :: sync :: Mutex < super :: ItemManager > ; # [doc = " "] def fetch (& self , item_uid : & str , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , item_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_item :: 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 , meta : & super :: py_item_metadata :: ItemMetadata , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * 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_item :: 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 , meta : Vec < u8 > , content : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: create_raw ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & 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_item :: 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 , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: list ((& * super :: py_item_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_item_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 item_revisions (& self , item : & super :: py_item :: Item , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_revisions_list_response :: ItemRevisionsListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: item_revisions ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (* super :: py_item :: rust_instance (item , py) . lock () . unwrap ()) . clone () , match fetch_options { Some (inner) => Some ((* super :: py_fetch_options :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ()) , None => None , }) { Ok (ok_inner) => super :: py_item_revisions_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 fetch_updates (& self , items : Vec < super :: py_item :: Item > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_updates ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . 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_item_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 fetch_multi (& self , items : Vec < String > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < super :: py_item_list_response :: ItemListResponse > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: fetch_multi ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . 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_item_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 batch (& self , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: batch ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 , items : Vec < super :: py_item :: Item > , deps : Option < Vec < super :: py_item :: Item > > , fetch_options : Option < super :: py_fetch_options :: FetchOptions >) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: transaction ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , items . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ? , match deps { Some (inner) => Some (inner . into_iter () . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) , None => None , } , 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 download_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: download_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& mut * super :: py_item :: rust_instance (item , 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 upload_content (& self , item : & super :: py_item :: Item) -> cpython :: PyResult < cpython :: PyObject > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: upload_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 cache_load (& self , cached : Vec < u8 >) -> cpython :: PyResult < super :: py_item :: Item > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_load ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , & cached . into_iter () . map (| inner | Ok (inner)) . collect :: < cpython :: PyResult < Vec < _ >> > () ?) { Ok (ok_inner) => super :: py_item :: 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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 , item : & super :: py_item :: Item) -> cpython :: PyResult < Vec < u8 > > { # [allow (unused)] use super :: * ; Ok (match ItemManager_ :: cache_save_with_content ((& * super :: py_item_manager :: rust_instance (self , py) . lock () . unwrap ()) , (& * super :: py_item :: rust_instance (item , 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))) , }) } }) ; ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7752 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:41:7974 [INFO] [stdout] | [INFO] [stdout] 41 | ... . map (| inner | Ok ((* super :: py_item :: rust_instance (& inner , py) . lock () . unwrap ()) . clone ())) . collect :: < cpython :... [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:46:893 [INFO] [stdout] | [INFO] [stdout] 46 | ... map (| inner | Ok (super :: py_signed_invitation :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpy... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:47:491 [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] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:47:1311 [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] | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:50:865 [INFO] [stdout] | [INFO] [stdout] 50 | ... map (| inner | Ok (super :: py_collection_member :: create_instance (py , std :: sync :: Mutex :: new (inner)) ?)) . collect :: < cpy... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/etebase-python-e5086684bf5a164d/out/glue.rs:51:468 [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] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: etebase-python@0.31.7: Internal rustfmt error [INFO] [stderr] [INFO] [stderr] error: could not compile `etebase-python` (lib test) due to 35 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf79db363bce5fb6a50afc8221f2e1df28c677e03c933ce8fe590e7fb8073dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf79db363bce5fb6a50afc8221f2e1df28c677e03c933ce8fe590e7fb8073dad", kill_on_drop: false }` [INFO] [stdout] bf79db363bce5fb6a50afc8221f2e1df28c677e03c933ce8fe590e7fb8073dad