[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] building THCLab/cesrox-bindings against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHCLab%2Fcesrox-bindings" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/THCLab/cesrox-bindings on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded said v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded keccak v0.1.4 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded smol_str v0.2.0 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded rmp-serde v0.15.5 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded errno v0.3.6 [INFO] [stderr] Downloaded python3-sys v0.5.2 [INFO] [stderr] Downloaded blake2 v0.9.2 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded flapigen v0.6.0 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded rustix v0.38.21 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded cpython v0.5.2 [INFO] [stderr] Downloaded rmp-serde v1.1.2 [INFO] [stderr] Downloaded petgraph v0.6.4 [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded rmp v0.8.12 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] [stderr] Downloaded cesrox v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6aad25a1ec00a21d18a75c645eeced1546fd8db8b2ecc78ee48a9c198eaf31 [INFO] running `Command { std: "docker" "start" "-a" "0b6aad25a1ec00a21d18a75c645eeced1546fd8db8b2ecc78ee48a9c198eaf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6aad25a1ec00a21d18a75c645eeced1546fd8db8b2ecc78ee48a9c198eaf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6aad25a1ec00a21d18a75c645eeced1546fd8db8b2ecc78ee48a9c198eaf31", kill_on_drop: false }` [INFO] [stdout] 0b6aad25a1ec00a21d18a75c645eeced1546fd8db8b2ecc78ee48a9c198eaf31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a47a9dda16ce5f4c2b2ed1674413d4537733986f16e5bd36969f6c979eff68d7 [INFO] running `Command { std: "docker" "start" "-a" "a47a9dda16ce5f4c2b2ed1674413d4537733986f16e5bd36969f6c979eff68d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling cpython v0.5.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling rmp v0.8.12 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [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 regex v1.10.2 [INFO] [stderr] Compiling thiserror v1.0.50 [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 wasm-bindgen v0.2.88 [INFO] [stderr] Compiling python3-sys v0.5.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rmp-serde v1.1.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-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 45.41s [INFO] running `Command { std: "docker" "inspect" "a47a9dda16ce5f4c2b2ed1674413d4537733986f16e5bd36969f6c979eff68d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a47a9dda16ce5f4c2b2ed1674413d4537733986f16e5bd36969f6c979eff68d7", kill_on_drop: false }` [INFO] [stdout] a47a9dda16ce5f4c2b2ed1674413d4537733986f16e5bd36969f6c979eff68d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ffec32ed9c0c47b65fd8b6497f043fc3f7eca1414b9f09f75c8b4046a47ca67 [INFO] running `Command { std: "docker" "start" "-a" "4ffec32ed9c0c47b65fd8b6497f043fc3f7eca1414b9f09f75c8b4046a47ca67", 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 1.44s [INFO] running `Command { std: "docker" "inspect" "4ffec32ed9c0c47b65fd8b6497f043fc3f7eca1414b9f09f75c8b4046a47ca67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffec32ed9c0c47b65fd8b6497f043fc3f7eca1414b9f09f75c8b4046a47ca67", kill_on_drop: false }` [INFO] [stdout] 4ffec32ed9c0c47b65fd8b6497f043fc3f7eca1414b9f09f75c8b4046a47ca67