[INFO] cloning repository https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-3084-edgedb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-3084-edgedb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 333c5029877d25025565e36d0c7ab693740d6b53 [INFO] checking orgTestCodacy11KRepos110MB/repo-3084-edgedb against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-3084-edgedb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb [INFO] finished tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb [INFO] tweaked toml for git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76cffffe26e3c1301dbe31865860cc8265e9ccfd4d7e67a39182abaadcd785b9 [INFO] running `Command { std: "docker" "start" "-a" "76cffffe26e3c1301dbe31865860cc8265e9ccfd4d7e67a39182abaadcd785b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76cffffe26e3c1301dbe31865860cc8265e9ccfd4d7e67a39182abaadcd785b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cffffe26e3c1301dbe31865860cc8265e9ccfd4d7e67a39182abaadcd785b9", kill_on_drop: false }` [INFO] [stdout] 76cffffe26e3c1301dbe31865860cc8265e9ccfd4d7e67a39182abaadcd785b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afe91c88e56248dc769141231dc2e54617af64367ea461d0282b22fb3708e3c2 [INFO] running `Command { std: "docker" "start" "-a" "afe91c88e56248dc769141231dc2e54617af64367ea461d0282b22fb3708e3c2", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Compiling cpython v0.7.0 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking edgedb-errors v0.1.0 (https://github.com/edgedb/edgedb-rust#dfdeb7f2) [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking blake2 v0.10.4 [INFO] [stderr] Checking bigdecimal v0.3.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking pretty_assertions v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling snafu-derive v0.7.0 [INFO] [stderr] Compiling python3-sys v0.7.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking edb-graphql-parser v0.3.0 (https://github.com/edgedb/graphql-parser#49f0e014) [INFO] [stderr] Checking snafu v0.7.0 [INFO] [stderr] Checking edgedb-protocol v0.2.0 (https://github.com/edgedb/edgedb-rust#dfdeb7f2) [INFO] [stderr] Checking edgeql-parser v0.1.0 (/opt/rustwide/workdir/edb/edgeql-parser) [INFO] [stderr] Checking edgeql-rust v0.1.0 (/opt/rustwide/workdir/edb/edgeql-rust) [INFO] [stderr] Checking graphql-rewrite v0.1.0 (/opt/rustwide/workdir/edb/graphql-rewrite) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> TokenVec<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:12:54 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> TokenVec<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | -- lifetime `'x` declared here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct TokenInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] --> edb/edgeql-rust/src/tokenizer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / py_class!(pub class Token |py| { [INFO] [stdout] 42 | | data _kind: PyString; [INFO] [stdout] 43 | | data _text: PyString; [INFO] [stdout] 44 | | data _value: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Token` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/tokenizer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / py_class!(pub class Token |py| { [INFO] [stdout] 42 | | data _kind: PyString; [INFO] [stdout] 43 | | data _text: PyString; [INFO] [stdout] 44 | | data _value: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Token` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | let tokens = unsafe { TOKENS.as_ref().expect("module initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | let tokens = unsafe { TOKENS.as_ref().expect("module initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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] --> edb/edgeql-rust/src/pynormalize.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / py_class!(pub class Entry |py| { [INFO] [stdout] 19 | | data _key: PyBytes; [INFO] [stdout] 20 | | data _processed_source: String; [INFO] [stdout] 21 | | data _tokens: PyList; [INFO] [stdout] ... | [INFO] [stdout] 80 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/pynormalize.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / py_class!(pub class Entry |py| { [INFO] [stdout] 19 | | data _key: PyBytes; [INFO] [stdout] 20 | | data _processed_source: String; [INFO] [stdout] 21 | | data _tokens: PyList; [INFO] [stdout] ... | [INFO] [stdout] 80 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/hash.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_class!(pub class Hasher |py| { [INFO] [stdout] 13 | | data _hasher: RefCell>; [INFO] [stdout] 14 | | @staticmethod [INFO] [stdout] 15 | | def start_migration(parent_id: &PyString) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Hasher` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/hash.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_class!(pub class Hasher |py| { [INFO] [stdout] 13 | | data _hasher: RefCell>; [INFO] [stdout] 14 | | @staticmethod [INFO] [stdout] 15 | | def start_migration(parent_id: &PyString) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Hasher` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/position.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / py_class!(pub class SourcePoint |py| { [INFO] [stdout] 9 | | data _position: InflatedPos; [INFO] [stdout] 10 | | @classmethod def from_offsets(_cls, data: PyBytes, offsets: PyObject) [INFO] [stdout] 11 | | -> PyResult [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SourcePoint` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/position.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / py_class!(pub class SourcePoint |py| { [INFO] [stdout] 9 | | data _position: InflatedPos; [INFO] [stdout] 10 | | @classmethod def from_offsets(_cls, data: PyBytes, offsets: PyObject) [INFO] [stdout] 11 | | -> PyResult [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SourcePoint` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/graphql-rewrite/src/pyentry.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_class!(pub class Entry |py| { [INFO] [stdout] 16 | | data _key: PyString; [INFO] [stdout] 17 | | data _key_vars: PyList; [INFO] [stdout] 18 | | data _variables: PyDict; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/graphql-rewrite/src/pyentry.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_class!(pub class Entry |py| { [INFO] [stdout] 16 | | data _key: PyString; [INFO] [stdout] 17 | | data _key_vars: PyList; [INFO] [stdout] 18 | | data _variables: PyDict; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/graphql-rewrite/src/pyentry.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_class!(pub class Entry |py| { [INFO] [stdout] 16 | | data _key: PyString; [INFO] [stdout] 17 | | data _key_vars: PyList; [INFO] [stdout] 18 | | data _variables: PyDict; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/graphql-rewrite/src/pyentry.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_class!(pub class Entry |py| { [INFO] [stdout] 16 | | data _key: PyString; [INFO] [stdout] 17 | | data _key_vars: PyList; [INFO] [stdout] 18 | | data _variables: PyDict; [INFO] [stdout] ... | [INFO] [stdout] 146 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct TokenInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] --> edb/edgeql-rust/src/tokenizer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / py_class!(pub class Token |py| { [INFO] [stdout] 42 | | data _kind: PyString; [INFO] [stdout] 43 | | data _text: PyString; [INFO] [stdout] 44 | | data _value: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Token` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/tokenizer.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / py_class!(pub class Token |py| { [INFO] [stdout] 42 | | data _kind: PyString; [INFO] [stdout] 43 | | data _text: PyString; [INFO] [stdout] 44 | | data _value: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Token` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | let tokens = unsafe { TOKENS.as_ref().expect("module initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> edb/edgeql-rust/src/tokenizer.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | let tokens = unsafe { TOKENS.as_ref().expect("module initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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] --> edb/edgeql-rust/src/pynormalize.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / py_class!(pub class Entry |py| { [INFO] [stdout] 19 | | data _key: PyBytes; [INFO] [stdout] 20 | | data _processed_source: String; [INFO] [stdout] 21 | | data _tokens: PyList; [INFO] [stdout] ... | [INFO] [stdout] 80 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/pynormalize.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / py_class!(pub class Entry |py| { [INFO] [stdout] 19 | | data _key: PyBytes; [INFO] [stdout] 20 | | data _processed_source: String; [INFO] [stdout] 21 | | data _tokens: PyList; [INFO] [stdout] ... | [INFO] [stdout] 80 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Entry` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/hash.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_class!(pub class Hasher |py| { [INFO] [stdout] 13 | | data _hasher: RefCell>; [INFO] [stdout] 14 | | @staticmethod [INFO] [stdout] 15 | | def start_migration(parent_id: &PyString) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Hasher` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/hash.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_class!(pub class Hasher |py| { [INFO] [stdout] 13 | | data _hasher: RefCell>; [INFO] [stdout] 14 | | @staticmethod [INFO] [stdout] 15 | | def start_migration(parent_id: &PyString) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `Hasher` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/position.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / py_class!(pub class SourcePoint |py| { [INFO] [stdout] 9 | | data _position: InflatedPos; [INFO] [stdout] 10 | | @classmethod def from_offsets(_cls, data: PyBytes, offsets: PyObject) [INFO] [stdout] 11 | | -> PyResult [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SourcePoint` is not local [INFO] [stdout] | |__`PythonObjectWithTypeObject` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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] --> edb/edgeql-rust/src/position.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / py_class!(pub class SourcePoint |py| { [INFO] [stdout] 9 | | data _position: InflatedPos; [INFO] [stdout] 10 | | @classmethod def from_offsets(_cls, data: PyBytes, offsets: PyObject) [INFO] [stdout] 11 | | -> PyResult [INFO] [stdout] ... | [INFO] [stdout] 41 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `SourcePoint` is not local [INFO] [stdout] | |__`PythonObjectFromPyClassMacro` is not local [INFO] [stdout] | move the `impl` block outside of this associated function `create_instance` [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::py_class_impl` may come from an old version of the `cpython` crate, try updating your dependency with `cargo update -p cpython` [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 macro `$crate::py_class_impl` which comes from the expansion of the macro `py_class` (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 35.87s [INFO] running `Command { std: "docker" "inspect" "afe91c88e56248dc769141231dc2e54617af64367ea461d0282b22fb3708e3c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe91c88e56248dc769141231dc2e54617af64367ea461d0282b22fb3708e3c2", kill_on_drop: false }` [INFO] [stdout] afe91c88e56248dc769141231dc2e54617af64367ea461d0282b22fb3708e3c2