[INFO] cloning repository https://github.com/THCLab/cesrox-bindings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/THCLab/cesrox-bindings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99873f83b5567230a94143ee789c07cc83d8de19 [INFO] testing THCLab/cesrox-bindings against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/THCLab/cesrox-bindings [INFO] finished tweaking git repo https://github.com/THCLab/cesrox-bindings [INFO] tweaked toml for git repo https://github.com/THCLab/cesrox-bindings written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/THCLab/cesrox-bindings on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/THCLab/cesrox-bindings 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f762ff6317bc45b226bc290d046a1785c2517593fae892cc8c633da7eead87f [INFO] running `Command { std: "docker" "start" "-a" "3f762ff6317bc45b226bc290d046a1785c2517593fae892cc8c633da7eead87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f762ff6317bc45b226bc290d046a1785c2517593fae892cc8c633da7eead87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f762ff6317bc45b226bc290d046a1785c2517593fae892cc8c633da7eead87f", kill_on_drop: false }` [INFO] [stdout] 3f762ff6317bc45b226bc290d046a1785c2517593fae892cc8c633da7eead87f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c068e8701d43fe905b9374f59508cead78daa1f92e417d133bb383ca14a61ca5 [INFO] running `Command { std: "docker" "start" "-a" "c068e8701d43fe905b9374f59508cead78daa1f92e417d133bb383ca14a61ca5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rmp v0.8.12 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling cpython v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling python3-sys v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling flapigen v0.6.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling rmp-serde v1.1.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling cesrox v0.1.4 [INFO] [stderr] Compiling said v0.3.0 [INFO] [stderr] Compiling said_python v0.2.1 (/opt/rustwide/workdir/said/python) [INFO] [stderr] Compiling self-addressing-identifier v0.2.3 (/opt/rustwide/workdir/said/wasm) [INFO] [stderr] warning: said_python@0.2.1: Internal rustfmt error [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Derivation` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Derivation` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sai` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sai` 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 `cpython::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 15.52s [INFO] running `Command { std: "docker" "inspect" "c068e8701d43fe905b9374f59508cead78daa1f92e417d133bb383ca14a61ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c068e8701d43fe905b9374f59508cead78daa1f92e417d133bb383ca14a61ca5", kill_on_drop: false }` [INFO] [stdout] c068e8701d43fe905b9374f59508cead78daa1f92e417d133bb383ca14a61ca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 687a571e1daf80c4f6ad3f43b080da53f26fe185cc6948ff541b1f7be1721cc2 [INFO] running `Command { std: "docker" "start" "-a" "687a571e1daf80c4f6ad3f43b080da53f26fe185cc6948ff541b1f7be1721cc2", kill_on_drop: false }` [INFO] [stderr] Compiling self-addressing-identifier v0.2.3 (/opt/rustwide/workdir/said/wasm) [INFO] [stderr] warning: said_python@0.2.1: Internal rustfmt error [INFO] [stderr] Compiling said_python v0.2.1 (/opt/rustwide/workdir/said/python) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Derivation` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Derivation` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sai` 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 `cpython::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] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sai` 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 `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "687a571e1daf80c4f6ad3f43b080da53f26fe185cc6948ff541b1f7be1721cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687a571e1daf80c4f6ad3f43b080da53f26fe185cc6948ff541b1f7be1721cc2", kill_on_drop: false }` [INFO] [stdout] 687a571e1daf80c4f6ad3f43b080da53f26fe185cc6948ff541b1f7be1721cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 944a705214738899152c5c870122c0ea7692f314333b4406870ad697d5d01c24 [INFO] running `Command { std: "docker" "start" "-a" "944a705214738899152c5c870122c0ea7692f314333b4406870ad697d5d01c24", kill_on_drop: false }` [INFO] [stderr] warning: said_python@0.2.1: Internal rustfmt error [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Derivation` is not local [INFO] [stderr] | `PythonObjectWithTypeObject` is not local [INFO] [stderr] | move the `impl` block outside of this associated function `create_instance` [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | ... { cpython :: py_class ! (pub class Derivation | py | { static __doc__ = "" ; static Blake3_256 = super :: Derivation :: Blake3_256 as u32 ; static Blake3_512 = super :: Derivation :: Blake3_512 as u32 ; static Blake2B512 = super :: Derivation :: Blake2B512 as u32 ; static Blake2B256 = super :: Derivation :: Blake2B256 as u32 ; static Blake2S256 = super :: Derivation :: Blake2S256 as u32 ; static SHA3_256 = super :: Derivation :: SHA3_256 as u32 ; static SHA2_256 = super :: Derivation :: SHA2_256 as u32 ; static SHA3_512 = super :: Derivation :: SHA3_512 as u32 ; static SHA2_512 = super :: Derivation :: SHA2_512 as u32 ; }) ; ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Derivation` is not local [INFO] [stderr] | `PythonObjectFromPyClassMacro` is not local [INFO] [stderr] | move the `impl` block outside of this associated function `create_instance` [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Sai` is not local [INFO] [stderr] | `PythonObjectWithTypeObject` is not local [INFO] [stderr] | move the `impl` block outside of this associated function `create_instance` [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> /opt/rustwide/target/debug/build/said_python-736934c37ea597e0/out/glue.rs:8:50 [INFO] [stderr] | [INFO] [stderr] 8 | ...)] cpython :: py_class ! (pub class Sai | py | { static __doc__ = "" ; # [doc = " "] @ staticmethod def derive (derivation : u32 , data : & str) -> cpython :: PyResult < String > { # [allow (unused)] use super :: * ; Ok (Sai :: derive (super :: py_derivation :: from_u32 (py , derivation) ? , data)) } # [doc = " "] @ staticmethod def verify (sai_pref : & str , data : & str) -> cpython :: PyResult < bool > { # [allow (unused)] use super :: * ; Ok (match Sai :: verify (sai_pref , data) { Ok (ok_inner) => ok_inner , Err (err_inner) => return Err (cpython :: PyErr :: new :: < super :: py_error :: Error , _ > (py , swig_collect_error_message (& err_inner))) , }) } }) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Sai` is not local [INFO] [stderr] | `PythonObjectFromPyClassMacro` is not local [INFO] [stderr] | move the `impl` block outside of this associated function `create_instance` [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::py_class_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::py_class_impl` which comes from the expansion of the macro `cpython::py_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `said_python` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/said_python-1286d617be5a44c9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/self_addressing_identifier-cf4c3b1d482da67f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "944a705214738899152c5c870122c0ea7692f314333b4406870ad697d5d01c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944a705214738899152c5c870122c0ea7692f314333b4406870ad697d5d01c24", kill_on_drop: false }` [INFO] [stdout] 944a705214738899152c5c870122c0ea7692f314333b4406870ad697d5d01c24