[INFO] cloning repository https://github.com/quanpham20/synapse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quanpham20/synapse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquanpham20%2Fsynapse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquanpham20%2Fsynapse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 344a0a52e193d9634c80e1d9e604e97f11f6c8e4 [INFO] testing quanpham20/synapse against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquanpham20%2Fsynapse" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quanpham20/synapse [INFO] finished tweaking git repo https://github.com/quanpham20/synapse [INFO] tweaked toml for git repo https://github.com/quanpham20/synapse written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quanpham20/synapse on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quanpham20/synapse 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-build-config v0.20.0 [INFO] [stderr] Downloaded arc-swap v1.5.1 [INFO] [stderr] Downloaded pyo3-log v0.9.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.64 [INFO] [stderr] Downloaded pyo3-ffi v0.20.0 [INFO] [stderr] Downloaded pyo3-macros v0.20.0 [INFO] [stderr] Downloaded pythonize v0.20.0 [INFO] [stderr] Downloaded regex v1.9.6 [INFO] [stderr] Downloaded pyo3 v0.20.0 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded libc v0.2.135 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff45dbf3da322c0a11f57e63fa445d9935f6bb235cd46b2f97d50841b76d76e1 [INFO] running `Command { std: "docker" "start" "-a" "ff45dbf3da322c0a11f57e63fa445d9935f6bb235cd46b2f97d50841b76d76e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff45dbf3da322c0a11f57e63fa445d9935f6bb235cd46b2f97d50841b76d76e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff45dbf3da322c0a11f57e63fa445d9935f6bb235cd46b2f97d50841b76d76e1", kill_on_drop: false }` [INFO] [stdout] ff45dbf3da322c0a11f57e63fa445d9935f6bb235cd46b2f97d50841b76d76e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a782cfbfc57326b921a0325b7a36e533e3069fb6ab79b9c64b821b2f3efe1d88 [INFO] running `Command { std: "docker" "start" "-a" "a782cfbfc57326b921a0325b7a36e533e3069fb6ab79b9c64b821b2f3efe1d88", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling synapse v0.1.0 (/opt/rustwide/workdir/rust) [INFO] [stderr] Compiling pyo3-ffi v0.20.0 [INFO] [stderr] Compiling pyo3 v0.20.0 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling pyo3-macros v0.20.0 [INFO] [stderr] Compiling pyo3-log v0.9.0 [INFO] [stderr] Compiling pythonize v0.20.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/src/acl/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 51 | impl ServerAclEvaluator { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 454 | impl PushRules { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 533 | impl FilteredPushRules { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/evaluator.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 104 | impl PushRuleEvaluator { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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 26.34s [INFO] running `Command { std: "docker" "inspect" "a782cfbfc57326b921a0325b7a36e533e3069fb6ab79b9c64b821b2f3efe1d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a782cfbfc57326b921a0325b7a36e533e3069fb6ab79b9c64b821b2f3efe1d88", kill_on_drop: false }` [INFO] [stdout] a782cfbfc57326b921a0325b7a36e533e3069fb6ab79b9c64b821b2f3efe1d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb78aa0c5bc9a8d4e25fbd5e4a8cb56495c9f04b76d2b63d8ed37d34c33fd90a [INFO] running `Command { std: "docker" "start" "-a" "cb78aa0c5bc9a8d4e25fbd5e4a8cb56495c9f04b76d2b63d8ed37d34c33fd90a", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/src/acl/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 51 | impl ServerAclEvaluator { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 454 | impl PushRules { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 533 | impl FilteredPushRules { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synapse v0.1.0 (/opt/rustwide/workdir/rust) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rust/src/push/evaluator.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 104 | impl PushRuleEvaluator { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/acl/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 51 | impl ServerAclEvaluator { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | `ServerAclEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 454 | impl PushRules { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | `PushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/mod.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 533 | impl FilteredPushRules { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | `FilteredPushRules` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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] --> rust/src/push/evaluator.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 104 | impl PushRuleEvaluator { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | `PushRuleEvaluator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [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 attribute macro `pymethods` (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 2.99s [INFO] running `Command { std: "docker" "inspect" "cb78aa0c5bc9a8d4e25fbd5e4a8cb56495c9f04b76d2b63d8ed37d34c33fd90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb78aa0c5bc9a8d4e25fbd5e4a8cb56495c9f04b76d2b63d8ed37d34c33fd90a", kill_on_drop: false }` [INFO] [stdout] cb78aa0c5bc9a8d4e25fbd5e4a8cb56495c9f04b76d2b63d8ed37d34c33fd90a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19dcadfbe3088cdf03dd1ab0074954fea3a4a74fe5dbbda2a2143932a24495fd [INFO] running `Command { std: "docker" "start" "-a" "19dcadfbe3088cdf03dd1ab0074954fea3a4a74fe5dbbda2a2143932a24495fd", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> rust/src/acl/mod.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 51 | impl ServerAclEvaluator { [INFO] [stderr] | ------------------ [INFO] [stderr] | | [INFO] [stderr] | `ServerAclEvaluator` is not local [INFO] [stderr] | `ServerAclEvaluator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (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] --> rust/src/push/mod.rs:453:1 [INFO] [stderr] | [INFO] [stderr] 453 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 454 | impl PushRules { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | `PushRules` is not local [INFO] [stderr] | `PushRules` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (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] --> rust/src/push/mod.rs:532:1 [INFO] [stderr] | [INFO] [stderr] 532 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 533 | impl FilteredPushRules { [INFO] [stderr] | ----------------- [INFO] [stderr] | | [INFO] [stderr] | `FilteredPushRules` is not local [INFO] [stderr] | `FilteredPushRules` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (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] --> rust/src/push/evaluator.rs:103:1 [INFO] [stderr] | [INFO] [stderr] 103 | #[pymethods] [INFO] [stderr] | -^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PyClassImplCollector` is not local [INFO] [stderr] | `PyClassNewTextSignature` is not local [INFO] [stderr] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stderr] 104 | impl PushRuleEvaluator { [INFO] [stderr] | ----------------- [INFO] [stderr] | | [INFO] [stderr] | `PushRuleEvaluator` is not local [INFO] [stderr] | `PushRuleEvaluator` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `synapse` (lib) generated 4 warnings [INFO] [stderr] warning: `synapse` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/synapse-0962002f27c98784) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test push::test_custom_action ... ok [INFO] [stdout] test push::test_deserialize_action ... ok [INFO] [stdout] test push::test_cannot_deserialize_event_match_condition_with_pattern_type ... ok [INFO] [stdout] test push::test_cannot_deserialize_unstable_msc3664_condition_with_pattern_type ... ok [INFO] [stdout] test push::test_deserialize_custom_condition ... ok [INFO] [stdout] test push::test_deserialize_event_property_is_condition ... ok [INFO] [stdout] test push::test_deserialize_unstable_msc3931_condition ... ok [INFO] [stdout] test push::utils::test_get_domain_from_id ... ok [INFO] [stdout] test push::test_serialize_condition ... ok [INFO] [stdout] test push::test_serialize_unstable_msc3664_condition_with_pattern_type ... ok [INFO] [stdout] test push::test_serialize_event_match_condition_with_pattern_type ... ok [INFO] [stdout] test push::test_deserialize_unstable_msc3664_condition ... ok [INFO] [stdout] test push::test_deserialize_condition ... ok [INFO] [stdout] test push::evaluator::push_rule_evaluator ... ok [INFO] [stdout] test push::evaluator::test_requires_room_version_supports_condition ... ok [INFO] [stdout] test push::utils::tset_glob ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests synapse [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" "19dcadfbe3088cdf03dd1ab0074954fea3a4a74fe5dbbda2a2143932a24495fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19dcadfbe3088cdf03dd1ab0074954fea3a4a74fe5dbbda2a2143932a24495fd", kill_on_drop: false }` [INFO] [stdout] 19dcadfbe3088cdf03dd1ab0074954fea3a4a74fe5dbbda2a2143932a24495fd