[INFO] cloning repository https://github.com/leifu1128/rand-archive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leifu1128/rand-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6143f8f085076d92ca063aa8f41a50bcb47845b1 [INFO] checking leifu1128/rand-archive against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leifu1128/rand-archive [INFO] finished tweaking git repo https://github.com/leifu1128/rand-archive [INFO] tweaked toml for git repo https://github.com/leifu1128/rand-archive written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leifu1128/rand-archive on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 239 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding pyo3 v0.19.2 (available: v0.25.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcs-reader v0.1.5 [INFO] [stderr] Downloaded gcp_auth v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cac632ede7039a9b6e62f75e5b41b9b2b0026d37c8a3f22565b57d4092b8903d [INFO] running `Command { std: "docker" "start" "-a" "cac632ede7039a9b6e62f75e5b41b9b2b0026d37c8a3f22565b57d4092b8903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cac632ede7039a9b6e62f75e5b41b9b2b0026d37c8a3f22565b57d4092b8903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac632ede7039a9b6e62f75e5b41b9b2b0026d37c8a3f22565b57d4092b8903d", kill_on_drop: false }` [INFO] [stdout] cac632ede7039a9b6e62f75e5b41b9b2b0026d37c8a3f22565b57d4092b8903d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 912239d243063c604b911ead5559a4f9f927205841d904f35664127ba44c3ea1 [INFO] running `Command { std: "docker" "start" "-a" "912239d243063c604b911ead5559a4f9f927205841d904f35664127ba44c3ea1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_archive v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dummy_header` [INFO] [stdout] --> src/archive.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let dummy_header = dummy_writer.header().clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dummy_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn calc_header_size(cls: &PyType, key_size: usize, n_entries: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn load(cls: &PyType, path: &str) -> PyResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | fn load(cls: &PyType, path: &str, cache_size: usize) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_type` [INFO] [stdout] --> src/python.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_value` [INFO] [stdout] --> src/python.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_traceback` [INFO] [stdout] --> src/python.rs:107:83 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_traceback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn calc_header_size(cls: &PyType, key_size: usize, n_entries: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn load(cls: &PyType, path: &str) -> PyResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/python.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | fn load(cls: &PyType, path: &str, cache_size: usize) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_type` [INFO] [stdout] --> src/python.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_value` [INFO] [stdout] --> src/python.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exc_traceback` [INFO] [stdout] --> src/python.rs:107:83 [INFO] [stdout] | [INFO] [stdout] 107 | fn __exit__(mut slf: PyRefMut<'_, Self>, exc_type: &PyAny, exc_value: &PyAny, exc_traceback: &PyAny) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exc_traceback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/python.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | fn __next__(mut slf: PyRefMut<'_, Self>) -> Option { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/python.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | fn __next__(mut slf: PyRefMut<'_, Self>) -> Option { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/reader/datasource.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | Self::Async(inner) => None, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Async` is never constructed [INFO] [stdout] --> src/reader/datasource.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum DataSource { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 48 | Sync(Rc>), [INFO] [stdout] 49 | Async(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_async` is never used [INFO] [stdout] --> src/reader/datasource.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DataSource { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new_async(data_source: D) -> Self { [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/python.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[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] 77 | impl PyWriter { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyWriter` is not local [INFO] [stdout] | `PyWriter` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | #[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] 118 | impl PyReader { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyReader` is not local [INFO] [stdout] | `PyReader` 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: 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: unused variable: `inner` [INFO] [stdout] --> src/reader/datasource.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | Self::Async(inner) => None, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Async` is never constructed [INFO] [stdout] --> src/reader/datasource.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum DataSource { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 48 | Sync(Rc>), [INFO] [stdout] 49 | Async(Rc), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_async` is never used [INFO] [stdout] --> src/reader/datasource.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl DataSource { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new_async(data_source: D) -> Self { [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/python.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[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] 77 | impl PyWriter { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyWriter` is not local [INFO] [stdout] | `PyWriter` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/python.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | #[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] 118 | impl PyReader { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `PyReader` is not local [INFO] [stdout] | `PyReader` 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: 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 30.01s [INFO] running `Command { std: "docker" "inspect" "912239d243063c604b911ead5559a4f9f927205841d904f35664127ba44c3ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912239d243063c604b911ead5559a4f9f927205841d904f35664127ba44c3ea1", kill_on_drop: false }` [INFO] [stdout] 912239d243063c604b911ead5559a4f9f927205841d904f35664127ba44c3ea1