[INFO] cloning repository https://github.com/HoMiGT/pyrd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HoMiGT/pyrd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoMiGT%2Fpyrd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoMiGT%2Fpyrd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb34995388dcc0bbea623f868fd03e290c864c7a [INFO] testing HoMiGT/pyrd against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoMiGT%2Fpyrd" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HoMiGT/pyrd [INFO] finished tweaking git repo https://github.com/HoMiGT/pyrd [INFO] tweaked toml for git repo https://github.com/HoMiGT/pyrd written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HoMiGT/pyrd on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HoMiGT/pyrd 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded hermit-abi v0.3.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.90 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.90 [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded metrics-macros v0.5.1 [INFO] [stderr] Downloaded mobc-redis v0.8.2 [INFO] [stderr] Downloaded gloo-timers v0.2.6 [INFO] [stderr] Downloaded async-global-executor v2.4.1 [INFO] [stderr] Downloaded piper v0.2.1 [INFO] [stderr] Downloaded pyo3-macros v0.20.2 [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded async-channel v2.1.1 [INFO] [stderr] Downloaded pyo3-ffi v0.20.2 [INFO] [stderr] Downloaded waker-fn v1.1.1 [INFO] [stderr] Downloaded parking v2.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.90 [INFO] [stderr] Downloaded kv-log-macro v1.0.7 [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded pyo3-build-config v0.20.2 [INFO] [stderr] Downloaded concurrent-queue v2.4.0 [INFO] [stderr] Downloaded blocking v1.5.1 [INFO] [stderr] Downloaded event-listener-strategy v0.4.0 [INFO] [stderr] Downloaded async-signal v0.2.5 [INFO] [stderr] Downloaded async-task v4.7.0 [INFO] [stderr] Downloaded async-lock v3.3.0 [INFO] [stderr] Downloaded async-executor v1.8.0 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded mobc v0.8.3 [INFO] [stderr] Downloaded metrics v0.18.1 [INFO] [stderr] Downloaded futures-timer v3.0.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Downloaded value-bag v1.6.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded futures-lite v2.2.0 [INFO] [stderr] Downloaded event-listener v4.0.3 [INFO] [stderr] Downloaded async-io v2.3.0 [INFO] [stderr] Downloaded polling v3.3.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.2 [INFO] [stderr] Downloaded ahash v0.7.7 [INFO] [stderr] Downloaded js-sys v0.3.67 [INFO] [stderr] Downloaded async-std v1.12.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.90 [INFO] [stderr] Downloaded redis v0.23.3 [INFO] [stderr] Downloaded rustix v0.37.27 [INFO] [stderr] Downloaded rustix v0.38.30 [INFO] [stderr] Downloaded pyo3 v0.20.2 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc [INFO] running `Command { std: "docker" "start" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling value-bag v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling pyo3-build-config v0.20.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pyo3-ffi v0.20.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pyo3 v0.20.2 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling polling v3.3.2 [INFO] [stderr] Compiling pyo3-macros v0.20.2 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling async-io v2.3.0 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling mobc v0.8.3 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling mobc-redis v0.8.2 [INFO] [stderr] Compiling pyrd v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | ... conn.hset_multiple(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` C... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 80 | conn.hset_multiple::<_, _, _, ()>(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | fn insert_imgs(&self, py: Python, key: &str, items: HashMap>>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | ... conn.hset_multiple(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new:: [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 122 | conn.hset_multiple::<_, _, _, ()>(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | fn add(&self, py: Python, value: Vec<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | ... conn.sadd("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Err... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 182 | conn.sadd::<_, _, ()>("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn expire(&self, py:Python, key: &str, exp: usize) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | ... conn.expire(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}",... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 193 | conn.expire::<_, ()>(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | fn insert_sc_nx(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | ... conn.hset_nx(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 227 | conn.hset_nx::<_, _, _, ()>(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | fn insert_sc_count(&self,py:Python,key:&str,filed:&str,increment:usize) ->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | ... conn.hincr(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Er... [INFO] [stdout] | ^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 238 | conn.hincr::<_, _, _, ()>(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Error: {}",e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | fn add_sc(&self,py:Python, value:Vec<&str>)->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | ... conn.sadd("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Erro... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 249 | conn.sadd::<_, _, ()>("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 54 | impl RedisPool { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyrd v1.1.0 (/opt/rustwide/workdir), redis v0.23.3, redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling pyrd v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | ... conn.hset_multiple(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` C... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 80 | conn.hset_multiple::<_, _, _, ()>(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | fn insert_imgs(&self, py: Python, key: &str, items: HashMap>>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | ... conn.hset_multiple(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new:: [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 122 | conn.hset_multiple::<_, _, _, ()>(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | fn add(&self, py: Python, value: Vec<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | ... conn.sadd("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Err... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 182 | conn.sadd::<_, _, ()>("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn expire(&self, py:Python, key: &str, exp: usize) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | ... conn.expire(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}",... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 193 | conn.expire::<_, ()>(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | fn insert_sc_nx(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | ... conn.hset_nx(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 227 | conn.hset_nx::<_, _, _, ()>(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | fn insert_sc_count(&self,py:Python,key:&str,filed:&str,increment:usize) ->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | ... conn.hincr(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Er... [INFO] [stdout] | ^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 238 | conn.hincr::<_, _, _, ()>(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Error: {}",e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | fn add_sc(&self,py:Python, value:Vec<&str>)->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | ... conn.sadd("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Erro... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 249 | conn.sadd::<_, _, ()>("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 54 | impl RedisPool { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn insert(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | ... conn.hset_multiple(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` C... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 80 | conn.hset_multiple::<_, _, _, ()>(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | fn insert_imgs(&self, py: Python, key: &str, items: HashMap>>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | ... conn.hset_multiple(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new:: [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 122 | conn.hset_multiple::<_, _, _, ()>(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | fn add(&self, py: Python, value: Vec<&str>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | ... conn.sadd("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Err... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 182 | conn.sadd::<_, _, ()>("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn expire(&self, py:Python, key: &str, exp: usize) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | ... conn.expire(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}",... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 193 | conn.expire::<_, ()>(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | fn insert_sc_nx(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | ... conn.hset_nx(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 227 | conn.hset_nx::<_, _, _, ()>(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` Command Error: {}", e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | fn insert_sc_count(&self,py:Python,key:&str,filed:&str,increment:usize) ->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | ... conn.hincr(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Er... [INFO] [stdout] | ^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 238 | conn.hincr::<_, _, _, ()>(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Error: {}",e)))?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | fn add_sc(&self,py:Python, value:Vec<&str>)->PyResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | ... conn.sadd("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Erro... [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 249 | conn.sadd::<_, _, ()>("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 54 | impl RedisPool { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | `RedisPool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyrd v1.1.0 (/opt/rustwide/workdir), redis v0.23.3, redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | fn insert(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:80:22 [INFO] [stderr] | [INFO] [stderr] 80 | ... conn.hset_multiple(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` C... [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 80 | conn.hset_multiple::<_, _, _, ()>(key, items.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | fn insert_imgs(&self, py: Python, key: &str, items: HashMap>>) -> PyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:122:22 [INFO] [stderr] | [INFO] [stderr] 122 | ... conn.hset_multiple(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new:: [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 122 | conn.hset_multiple::<_, _, _, ()>(imgs_key.as_str(), insert_vec.as_slice()).await.map_err(|e| PyErr::new::(format!("`HMSET` Command Error: {}", e)))?; [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | fn add(&self, py: Python, value: Vec<&str>) -> PyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:182:22 [INFO] [stderr] | [INFO] [stderr] 182 | ... conn.sadd("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Err... [INFO] [stderr] | ^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 182 | conn.sadd::<_, _, ()>("RS_FINISHED", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | fn expire(&self, py:Python, key: &str, exp: usize) -> PyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:193:22 [INFO] [stderr] | [INFO] [stderr] 193 | ... conn.expire(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}",... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 193 | conn.expire::<_, ()>(key, exp).await.map_err(|e| PyErr::new::(format!("`EXPIRE` Command Error: {}", e)))?; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | fn insert_sc_nx(&self, py: Python, key: &str, items: Vec<(&str, &str)>) -> PyResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:227:22 [INFO] [stderr] | [INFO] [stderr] 227 | ... conn.hset_nx(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` ... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 227 | conn.hset_nx::<_, _, _, ()>(key, items[0].0,items[0].1).await.map_err(|e| PyErr::new::(format!("`HSETNX` Command Error: {}", e)))?; [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | fn insert_sc_count(&self,py:Python,key:&str,filed:&str,increment:usize) ->PyResult<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:238:22 [INFO] [stderr] | [INFO] [stderr] 238 | ... conn.hincr(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Er... [INFO] [stderr] | ^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 238 | conn.hincr::<_, _, _, ()>(key,filed,increment).await.map_err(|e|PyErr::new::(format!("`HINCRBY` Command Error: {}",e)))?; [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | fn add_sc(&self,py:Python, value:Vec<&str>)->PyResult<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:249:22 [INFO] [stderr] | [INFO] [stderr] 249 | ... conn.sadd("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Erro... [INFO] [stderr] | ^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 249 | conn.sadd::<_, _, ()>("RS_SC_LIST", value).await.map_err(|e| PyErr::new::(format!("`SADD` Command Error: {}", e)))?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 54 | impl RedisPool { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | `RedisPool` is not local [INFO] [stderr] | `RedisPool` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `pyrd` (lib) generated 8 warnings (run `cargo fix --lib -p pyrd` to apply 7 suggestions) [INFO] [stderr] warning: `pyrd` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyrd v1.1.0 (/opt/rustwide/workdir), redis v0.23.3, redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyrd-944905cb360bafa7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pyrd [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc", kill_on_drop: false }` [INFO] [stdout] 54cd2bae6fbd848eee020ae2008532b70799bc02a40b0d9ceefd07e8a4cef8fc