[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/6143f8f085076d92ca063aa8f41a50bcb47845b1 against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleifu1128%2Frand-archive" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leifu1128/rand-archive on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "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 233 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.26.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indenter v0.3.4 [INFO] [stderr] Downloaded pyo3-build-config v0.19.2 [INFO] [stderr] Downloaded gcs-reader v0.1.5 [INFO] [stderr] Downloaded pyo3-macros v0.19.2 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded gcp_auth v0.9.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.2 [INFO] [stderr] Downloaded pyo3-ffi v0.19.2 [INFO] [stderr] Downloaded pyo3 v0.19.2 [INFO] [stderr] Downloaded openssl-src v300.5.3+3.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db113fbb49b61b085748bde71d12420d54306d9afd3750b031c5536936a50ddc [INFO] running `Command { std: "docker" "start" "-a" "db113fbb49b61b085748bde71d12420d54306d9afd3750b031c5536936a50ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db113fbb49b61b085748bde71d12420d54306d9afd3750b031c5536936a50ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db113fbb49b61b085748bde71d12420d54306d9afd3750b031c5536936a50ddc", kill_on_drop: false }` [INFO] [stdout] db113fbb49b61b085748bde71d12420d54306d9afd3750b031c5536936a50ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0ef0c56a96618cd1014416f7e999fb0a937fabbcf680b4f5842b539c8702b0 [INFO] running `Command { std: "docker" "start" "-a" "0c0ef0c56a96618cd1014416f7e999fb0a937fabbcf680b4f5842b539c8702b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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: `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: 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 48.84s [INFO] running `Command { std: "docker" "inspect" "0c0ef0c56a96618cd1014416f7e999fb0a937fabbcf680b4f5842b539c8702b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0ef0c56a96618cd1014416f7e999fb0a937fabbcf680b4f5842b539c8702b0", kill_on_drop: false }` [INFO] [stdout] 0c0ef0c56a96618cd1014416f7e999fb0a937fabbcf680b4f5842b539c8702b0