[INFO] cloning repository https://github.com/jackgerrits/reductionml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackgerrits/reductionml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgerrits%2Freductionml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgerrits%2Freductionml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba3bd2a1996b030e4a6e408ab8309ca2b0a885eb [INFO] checking jackgerrits/reductionml/ba3bd2a1996b030e4a6e408ab8309ca2b0a885eb against master#1f81f906893d166d05fb4839f169983f2b564cc7 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackgerrits%2Freductionml" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackgerrits/reductionml on toolchain 1f81f906893d166d05fb4839f169983f2b564cc7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackgerrits/reductionml [INFO] finished tweaking git repo https://github.com/jackgerrits/reductionml [INFO] tweaked toml for git repo https://github.com/jackgerrits/reductionml written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jackgerrits/reductionml 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" "+1f81f906893d166d05fb4839f169983f2b564cc7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.2.13 [INFO] [stderr] Downloaded clap v4.4.4 [INFO] [stderr] Downloaded serde_default v0.1.0 [INFO] [stderr] Downloaded flexbuffers v2.0.0 [INFO] [stderr] Downloaded json-pointer v0.3.4 [INFO] [stderr] Downloaded assert_fs v1.0.13 [INFO] [stderr] Downloaded globset v0.4.13 [INFO] [stderr] Downloaded clap_complete v4.4.1 [INFO] [stderr] Downloaded addr v0.15.6 [INFO] [stderr] Downloaded valico v4.0.0 [INFO] [stderr] Downloaded clap_builder v4.4.4 [INFO] [stderr] Downloaded uritemplate-next v0.2.0 [INFO] [stderr] Downloaded jsonway v2.0.0 [INFO] [stderr] Downloaded psl v2.1.4 [INFO] [stderr] Downloaded serde_json_borrow v0.1.4 [INFO] [stderr] Downloaded typetag v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c66e81717db23da566e6bb34dec22e6cc5df4780e947db46849474bdb45a696 [INFO] running `Command { std: "docker" "start" "-a" "7c66e81717db23da566e6bb34dec22e6cc5df4780e947db46849474bdb45a696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c66e81717db23da566e6bb34dec22e6cc5df4780e947db46849474bdb45a696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c66e81717db23da566e6bb34dec22e6cc5df4780e947db46849474bdb45a696", kill_on_drop: false }` [INFO] [stdout] 7c66e81717db23da566e6bb34dec22e6cc5df4780e947db46849474bdb45a696 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4fe80ccfcc94d8b666b2a4f6b34409e5cf9c9d7e0a04dd00e1b84b5f6c4a4c1 [INFO] running `Command { std: "docker" "start" "-a" "f4fe80ccfcc94d8b666b2a4f6b34409e5cf9c9d7e0a04dd00e1b84b5f6c4a4c1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling schemars v0.8.15 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking inventory v0.3.12 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling typetag-impl v0.2.13 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling schemars_derive v0.8.15 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_default v0.1.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking psl v2.1.4 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling valico v4.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking flexbuffers v2.0.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking typetag v0.2.13 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking anyhow v1.0.75 [INFO] [stderr] Checking clap_complete v4.4.1 [INFO] [stderr] Checking serde_json_borrow v0.1.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking jsonway v2.0.0 [INFO] [stderr] Checking json-pointer v0.3.4 [INFO] [stderr] Checking uritemplate-next v0.2.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking atomic-wait v1.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking addr v0.15.6 [INFO] [stderr] Checking reductionml-core v0.1.0 (/opt/rustwide/workdir/reductionml-core) [INFO] [stderr] Checking pythonize v0.19.0 [INFO] [stdout] warning: unused import: `reduction_registry::REDUCTION_REGISTRY` [INFO] [stdout] --> reductionml-core/src/reduction_factory.rs:210:57 [INFO] [stdout] | [INFO] [stdout] 210 | use crate::{reduction_factory::JsonReductionConfig, reduction_registry::REDUCTION_REGISTRY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking reductionml-docs-extension v0.1.0 (/opt/rustwide/workdir/utils/reductionml-docs-extension) [INFO] [stderr] Checking reductionml-cli v0.1.0 (/opt/rustwide/workdir/reductionml-cli) [INFO] [stderr] Checking reductionml-python v0.1.0 (/opt/rustwide/workdir/reductionml-python) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> reductionml-python/src/features.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[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] 20 | impl WrappedSparseFeatures { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedSparseFeatures` is not local [INFO] [stdout] | `WrappedSparseFeatures` 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] --> reductionml-python/src/features.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] 36 | impl WrappedCbAdfFeatures { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedCbAdfFeatures` is not local [INFO] [stdout] | `WrappedCbAdfFeatures` 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] --> reductionml-python/src/labels.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[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] 56 | impl WrappedSimpleLabel { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `WrappedSimpleLabel` is not local [INFO] [stdout] | `WrappedSimpleLabel` 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] --> reductionml-python/src/labels.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | #[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] 113 | impl WrappedCBLabel { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedCBLabel` is not local [INFO] [stdout] | `WrappedCBLabel` 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] --> reductionml-python/src/predictions.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[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] 52 | impl WrappedScalarPrediction { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedScalarPrediction` is not local [INFO] [stdout] | `WrappedScalarPrediction` 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] --> reductionml-python/src/predictions.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[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] 92 | impl WrappedActionScoresPrediction { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedActionScoresPrediction` is not local [INFO] [stdout] | `WrappedActionScoresPrediction` 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] --> reductionml-python/src/predictions.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[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] 121 | impl WrappedActionProbsPrediction { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedActionProbsPrediction` is not local [INFO] [stdout] | `WrappedActionProbsPrediction` 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] --> reductionml-python/src/workspace.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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] 33 | impl WrappedReductionTypesDescription { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedReductionTypesDescription` is not local [INFO] [stdout] | `WrappedReductionTypesDescription` 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] --> reductionml-python/src/features.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[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] 20 | impl WrappedSparseFeatures { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedSparseFeatures` is not local [INFO] [stdout] | `WrappedSparseFeatures` 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] --> reductionml-python/src/features.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[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] 36 | impl WrappedCbAdfFeatures { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedCbAdfFeatures` is not local [INFO] [stdout] | `WrappedCbAdfFeatures` 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] --> reductionml-python/src/labels.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[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] 56 | impl WrappedSimpleLabel { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `WrappedSimpleLabel` is not local [INFO] [stdout] | `WrappedSimpleLabel` 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] --> reductionml-python/src/labels.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | #[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] 113 | impl WrappedCBLabel { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedCBLabel` is not local [INFO] [stdout] | `WrappedCBLabel` 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] --> reductionml-python/src/predictions.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[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] 52 | impl WrappedScalarPrediction { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedScalarPrediction` is not local [INFO] [stdout] | `WrappedScalarPrediction` 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] --> reductionml-python/src/predictions.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[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] 92 | impl WrappedActionScoresPrediction { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedActionScoresPrediction` is not local [INFO] [stdout] | `WrappedActionScoresPrediction` 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] --> reductionml-python/src/predictions.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | #[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] 121 | impl WrappedActionProbsPrediction { [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedActionProbsPrediction` is not local [INFO] [stdout] | `WrappedActionProbsPrediction` 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] --> reductionml-python/src/workspace.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[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] 33 | impl WrappedReductionTypesDescription { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `WrappedReductionTypesDescription` is not local [INFO] [stdout] | `WrappedReductionTypesDescription` 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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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] --> reductionml-core/src/reduction.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ReductionImpl_registry` [INFO] [stdout] 290 | pub trait ReductionImpl: Send { [INFO] [stdout] | ------------- `ReductionImpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (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 47s [INFO] running `Command { std: "docker" "inspect" "f4fe80ccfcc94d8b666b2a4f6b34409e5cf9c9d7e0a04dd00e1b84b5f6c4a4c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4fe80ccfcc94d8b666b2a4f6b34409e5cf9c9d7e0a04dd00e1b84b5f6c4a4c1", kill_on_drop: false }` [INFO] [stdout] f4fe80ccfcc94d8b666b2a4f6b34409e5cf9c9d7e0a04dd00e1b84b5f6c4a4c1