[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/99873f83b5567230a94143ee789c07cc83d8de19 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/THCLab/cesrox-bindings on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cesrox v0.1.4 [INFO] [stderr] Downloaded said v0.3.0 [INFO] [stderr] Downloaded python3-sys v0.5.2 [INFO] [stderr] Downloaded cpython v0.5.2 [INFO] [stderr] Downloaded flapigen v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe9755df414afa5734ec98773ce4e1c8ae6ddf36eafbb444cdbbafd7147cb457 [INFO] running `Command { std: "docker" "start" "-a" "fe9755df414afa5734ec98773ce4e1c8ae6ddf36eafbb444cdbbafd7147cb457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe9755df414afa5734ec98773ce4e1c8ae6ddf36eafbb444cdbbafd7147cb457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9755df414afa5734ec98773ce4e1c8ae6ddf36eafbb444cdbbafd7147cb457", kill_on_drop: false }` [INFO] [stdout] fe9755df414afa5734ec98773ce4e1c8ae6ddf36eafbb444cdbbafd7147cb457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aac695e2233bba809fff032dad0805a479ce09a3513e6138e5b16b5dee6f301b [INFO] running `Command { std: "docker" "start" "-a" "aac695e2233bba809fff032dad0805a479ce09a3513e6138e5b16b5dee6f301b", 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 typenum v1.17.0 [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 regex-syntax v0.8.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rmp v0.8.12 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cpython v0.5.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 wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling python3-sys v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Compiling flapigen v0.6.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [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_python v0.2.1 (/opt/rustwide/workdir/said/python) [INFO] [stderr] Compiling said v0.3.0 [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-9f4b900ecf8b6045/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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 21.44s [INFO] running `Command { std: "docker" "inspect" "aac695e2233bba809fff032dad0805a479ce09a3513e6138e5b16b5dee6f301b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac695e2233bba809fff032dad0805a479ce09a3513e6138e5b16b5dee6f301b", kill_on_drop: false }` [INFO] [stdout] aac695e2233bba809fff032dad0805a479ce09a3513e6138e5b16b5dee6f301b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f7a3f811f4d82cf22f87a56f2d4c9204d3058eafe5114557f1c42a3beec1be [INFO] running `Command { std: "docker" "start" "-a" "46f7a3f811f4d82cf22f87a56f2d4c9204d3058eafe5114557f1c42a3beec1be", 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-9f4b900ecf8b6045/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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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.40s [INFO] running `Command { std: "docker" "inspect" "46f7a3f811f4d82cf22f87a56f2d4c9204d3058eafe5114557f1c42a3beec1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f7a3f811f4d82cf22f87a56f2d4c9204d3058eafe5114557f1c42a3beec1be", kill_on_drop: false }` [INFO] [stdout] 46f7a3f811f4d82cf22f87a56f2d4c9204d3058eafe5114557f1c42a3beec1be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9df042f763a9e1cdeac8696bc6845b24de0f0020b13af374181304477e783f07 [INFO] running `Command { std: "docker" "start" "-a" "9df042f763a9e1cdeac8696bc6845b24de0f0020b13af374181304477e783f07", 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-9f4b900ecf8b6045/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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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-9f4b900ecf8b6045/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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/said_python-0cc3dfcbd1f03cbe) [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-f6aaa55a11c2278c) [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" "9df042f763a9e1cdeac8696bc6845b24de0f0020b13af374181304477e783f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df042f763a9e1cdeac8696bc6845b24de0f0020b13af374181304477e783f07", kill_on_drop: false }` [INFO] [stdout] 9df042f763a9e1cdeac8696bc6845b24de0f0020b13af374181304477e783f07