[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 master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-3084-edgedb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/orgTestCodacy11KRepos110MB/repo-3084-edgedb on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4b596bbd847672da87763b76171687d3544863c2" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/edgedb/edgedb-rust` [INFO] [stderr] Updating git repository `https://github.com/edgedb/graphql-parser` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded python3-sys v0.7.0 [INFO] [stderr] Downloaded cpython v0.7.0 [INFO] [stderr] Downloaded pretty_assertions v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a83647cb21ca6a6c884ad2b565a9608270f1d8d4d76d38950f19a5d75ad9eec3 [INFO] running `Command { std: "docker" "start" "-a" "a83647cb21ca6a6c884ad2b565a9608270f1d8d4d76d38950f19a5d75ad9eec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83647cb21ca6a6c884ad2b565a9608270f1d8d4d76d38950f19a5d75ad9eec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83647cb21ca6a6c884ad2b565a9608270f1d8d4d76d38950f19a5d75ad9eec3", kill_on_drop: false }` [INFO] [stdout] a83647cb21ca6a6c884ad2b565a9608270f1d8d4d76d38950f19a5d75ad9eec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac2740fb1102d83ea2f10f30d85964612a5c4d354685ebb05ffb86b076618400 [INFO] running `Command { std: "docker" "start" "-a" "ac2740fb1102d83ea2f10f30d85964612a5c4d354685ebb05ffb86b076618400", 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 version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [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 doc-comment v0.3.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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] Checking base32 v0.4.0 [INFO] [stderr] Compiling cpython v0.7.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [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 unreachable v1.0.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling regex v1.5.5 [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 bigdecimal v0.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking blake2 v0.10.4 [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 python3-sys v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling snafu-derive v0.7.0 [INFO] [stderr] Checking thiserror v1.0.30 [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 edb-graphql-parser v0.3.0 (https://github.com/edgedb/graphql-parser#49f0e014) [INFO] [stderr] Checking edgeql-parser v0.1.0 (/opt/rustwide/workdir/edb/edgeql-parser) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/tokenizer.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(s: &str) -> TokenStream { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(s: &str) -> TokenStream<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/tokenizer.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new_at(s: &str, position: Pos) -> TokenStream { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new_at(s: &str, position: Pos) -> TokenStream<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/helpers.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn quote_name(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn quote_name(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/tokenizer.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(s: &str) -> TokenStream { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn new(s: &str) -> TokenStream<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/tokenizer.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new_at(s: &str, position: Pos) -> TokenStream { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 168 | pub fn new_at(s: &str, position: Pos) -> TokenStream<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> edb/edgeql-parser/src/helpers.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn quote_name(s: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn quote_name(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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: 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec { [INFO] [stdout] | ^^ ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'x` [INFO] [stdout] | [INFO] [stdout] 19 | -> impl Iterator, Pos)> + 'x [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'x` [INFO] [stdout] | [INFO] [stdout] 27 | -> impl Iterator, Pos)> + 'x [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec { [INFO] [stdout] | ^^ ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(tokens: &'a Vec<(Token<'a>, Pos)>) -> TokenVec<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn drain<'x>(&'x mut self, n: usize) [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 19 | -> impl Iterator + 'x [INFO] [stdout] | ------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'x` [INFO] [stdout] | [INFO] [stdout] 19 | -> impl Iterator, Pos)> + 'x [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> edb/graphql-rewrite/src/token_vec.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn drain_to<'x>(&'x mut self, end: usize) [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 27 | -> impl Iterator + 'x [INFO] [stdout] | ------------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'x` [INFO] [stdout] | [INFO] [stdout] 27 | -> impl Iterator, Pos)> + 'x [INFO] [stdout] | ++ ++++ [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: 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 36.26s [INFO] running `Command { std: "docker" "inspect" "ac2740fb1102d83ea2f10f30d85964612a5c4d354685ebb05ffb86b076618400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2740fb1102d83ea2f10f30d85964612a5c4d354685ebb05ffb86b076618400", kill_on_drop: false }` [INFO] [stdout] ac2740fb1102d83ea2f10f30d85964612a5c4d354685ebb05ffb86b076618400