[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] checking THCLab/cesrox-bindings against try#09335b6f1bff25ec39f47f1533e126fbe1ca5f5d for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/THCLab/cesrox-bindings on toolchain 09335b6f1bff25ec39f47f1533e126fbe1ca5f5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "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" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a53238174f6ae93e78fff116f15e5c0e1575eda849307f5453a754b52776769 [INFO] running `Command { std: "docker" "start" "-a" "0a53238174f6ae93e78fff116f15e5c0e1575eda849307f5453a754b52776769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a53238174f6ae93e78fff116f15e5c0e1575eda849307f5453a754b52776769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a53238174f6ae93e78fff116f15e5c0e1575eda849307f5453a754b52776769", kill_on_drop: false }` [INFO] [stdout] 0a53238174f6ae93e78fff116f15e5c0e1575eda849307f5453a754b52776769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 862445712a07ea6102d8d48683cc3b674f0bf18908d8612be4ed23f8df05ad24 [INFO] running `Command { std: "docker" "start" "-a" "862445712a07ea6102d8d48683cc3b674f0bf18908d8612be4ed23f8df05ad24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling cpython v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Checking paste v0.1.18 [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] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Checking cesrox v0.1.4 [INFO] [stderr] Checking said v0.3.0 [INFO] [stderr] Compiling said_python v0.2.1 (/opt/rustwide/workdir/said/python) [INFO] [stderr] Checking 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-8571223f773adea1/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-8571223f773adea1/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-8571223f773adea1/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-8571223f773adea1/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] [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-8571223f773adea1/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-8571223f773adea1/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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [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-8571223f773adea1/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-8571223f773adea1/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] warning: the following packages contain code that will be rejected by a future version of Rust: lazy_static v1.4.0, wasm-bindgen v0.2.88 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "862445712a07ea6102d8d48683cc3b674f0bf18908d8612be4ed23f8df05ad24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862445712a07ea6102d8d48683cc3b674f0bf18908d8612be4ed23f8df05ad24", kill_on_drop: false }` [INFO] [stdout] 862445712a07ea6102d8d48683cc3b674f0bf18908d8612be4ed23f8df05ad24