[INFO] cloning repository https://github.com/bytewax/bytewax [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bytewax/bytewax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewax%2Fbytewax", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewax%2Fbytewax'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 378c01613dbd0c3476df8a2865065c8d6f35812b [INFO] checking bytewax/bytewax against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewax%2Fbytewax" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bytewax/bytewax [INFO] finished tweaking git repo https://github.com/bytewax/bytewax [INFO] tweaked toml for git repo https://github.com/bytewax/bytewax written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bytewax/bytewax on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bytewax/bytewax 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `chrono` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3810afe8783279d678cf3beccae90921a3f4b338e055120a4efbea5e65e5178b [INFO] running `Command { std: "docker" "start" "-a" "3810afe8783279d678cf3beccae90921a3f4b338e055120a4efbea5e65e5178b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3810afe8783279d678cf3beccae90921a3f4b338e055120a4efbea5e65e5178b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3810afe8783279d678cf3beccae90921a3f4b338e055120a4efbea5e65e5178b", kill_on_drop: false }` [INFO] [stdout] 3810afe8783279d678cf3beccae90921a3f4b338e055120a4efbea5e65e5178b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19d34ba4b2cefb44add9c0ee153b2232b4d478ae3008f696fea24117359fb1b7 [INFO] running `Command { std: "docker" "start" "-a" "19d34ba4b2cefb44add9c0ee153b2232b4d478ae3008f696fea24117359fb1b7", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `chrono` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling pyo3-build-config v0.21.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling pyo3-ffi v0.21.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.1 [INFO] [stderr] Checking columnation v0.1.0 (https://github.com/frankmcsherry/columnation#ab3b7897) [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Compiling pyo3 v0.21.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking timely_logging v0.12.0 (https://github.com/TimelyDataflow/timely-dataflow.git?rev=432ef57#432ef57f) [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking timely_bytes v0.12.0 (https://github.com/TimelyDataflow/timely-dataflow.git?rev=432ef57#432ef57f) [INFO] [stderr] Compiling rusqlite_migration v1.1.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking opentelemetry_api v0.20.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking thrift v0.17.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pyo3-macros v0.21.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking timely_container v0.12.0 (https://github.com/TimelyDataflow/timely-dataflow.git?rev=432ef57#432ef57f) [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking timely_communication v0.12.0 (https://github.com/TimelyDataflow/timely-dataflow.git?rev=432ef57#432ef57f) [INFO] [stderr] Checking timely v0.12.0 (https://github.com/TimelyDataflow/timely-dataflow.git?rev=432ef57#432ef57f) [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Checking opentelemetry_sdk v0.20.0 [INFO] [stderr] Checking opentelemetry v0.20.0 [INFO] [stderr] Checking opentelemetry-prometheus v0.13.0 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.12.0 [INFO] [stderr] Checking tracing-opentelemetry v0.20.0 [INFO] [stderr] Checking opentelemetry-jaeger v0.19.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.25 [INFO] [stderr] Checking axum v0.5.17 [INFO] [stderr] Checking opentelemetry-http v0.9.0 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking opentelemetry-proto v0.3.0 [INFO] [stderr] Checking opentelemetry-otlp v0.13.0 [INFO] [stderr] Checking bytewax v0.21.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/recovery.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | #[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 3 bodies [INFO] [stdout] 315 | impl RecoveryConfig { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `RecoveryConfig` is not local [INFO] [stdout] | `RecoveryConfig` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recovery.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | fn get_migrations(py: Python) -> &Migrations<'static> { [INFO] [stdout] | ^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 450 | fn get_migrations(py: Python<'_>) -> &Migrations<'static> { [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/tracing/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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 3 bodies [INFO] [stdout] 40 | impl TracingConfig { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `TracingConfig` is not local [INFO] [stdout] | `TracingConfig` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tracing/mod.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | py: Python, [INFO] [stdout] | ^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 175 | ) -> PyResult> { [INFO] [stdout] | -- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 172 | py: Python<'_>, [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/tracing/jaeger_tracing.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[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 3 bodies [INFO] [stdout] 45 | impl JaegerConfig { [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `JaegerConfig` is not local [INFO] [stdout] | `JaegerConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tracing/otlp_tracing.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[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 3 bodies [INFO] [stdout] 51 | impl OtlpTracingConfig { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `OtlpTracingConfig` is not local [INFO] [stdout] | `OtlpTracingConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/recovery.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | #[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 3 bodies [INFO] [stdout] 315 | impl RecoveryConfig { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `RecoveryConfig` is not local [INFO] [stdout] | `RecoveryConfig` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recovery.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | fn get_migrations(py: Python) -> &Migrations<'static> { [INFO] [stdout] | ^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 450 | fn get_migrations(py: Python<'_>) -> &Migrations<'static> { [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/tracing/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[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 3 bodies [INFO] [stdout] 40 | impl TracingConfig { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `TracingConfig` is not local [INFO] [stdout] | `TracingConfig` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tracing/mod.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | py: Python, [INFO] [stdout] | ^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 175 | ) -> PyResult> { [INFO] [stdout] | -- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 172 | py: Python<'_>, [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/tracing/jaeger_tracing.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[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 3 bodies [INFO] [stdout] 45 | impl JaegerConfig { [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | `JaegerConfig` is not local [INFO] [stdout] | `JaegerConfig` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tracing/otlp_tracing.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[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 3 bodies [INFO] [stdout] 51 | impl OtlpTracingConfig { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `OtlpTracingConfig` is not local [INFO] [stdout] | `OtlpTracingConfig` 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 1m 58s [INFO] running `Command { std: "docker" "inspect" "19d34ba4b2cefb44add9c0ee153b2232b4d478ae3008f696fea24117359fb1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d34ba4b2cefb44add9c0ee153b2232b4d478ae3008f696fea24117359fb1b7", kill_on_drop: false }` [INFO] [stdout] 19d34ba4b2cefb44add9c0ee153b2232b4d478ae3008f696fea24117359fb1b7