[INFO] cloning repository https://github.com/MouadBouharoun/synapse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MouadBouharoun/synapse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouadBouharoun%2Fsynapse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouadBouharoun%2Fsynapse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9356f900f88e4d20eba9e0f9d81050934d0cc3b [INFO] testing MouadBouharoun/synapse against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMouadBouharoun%2Fsynapse" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MouadBouharoun/synapse [INFO] finished tweaking git repo https://github.com/MouadBouharoun/synapse [INFO] tweaked toml for git repo https://github.com/MouadBouharoun/synapse written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MouadBouharoun/synapse on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MouadBouharoun/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.5 [INFO] [stderr] Downloaded unindent v0.2.3 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded generic-array v0.14.6 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded arc-swap v1.5.1 [INFO] [stderr] Downloaded pyo3-ffi v0.20.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.64 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded serde_derive v1.0.193 [INFO] [stderr] Downloaded once_cell v1.15.0 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded pyo3-build-config v0.20.0 [INFO] [stderr] Downloaded regex v1.9.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.0 [INFO] [stderr] Downloaded pythonize v0.20.0 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded serde v1.0.193 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded pyo3-log v0.9.0 [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded memoffset v0.9.0 [INFO] [stderr] Downloaded pyo3 v0.20.0 [INFO] [stderr] Downloaded scopeguard v1.1.0 [INFO] [stderr] Downloaded lock_api v0.4.9 [INFO] [stderr] Downloaded pyo3-macros v0.20.0 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded target-lexicon v0.12.4 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded libc v0.2.135 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94d9fde57737a82d4d5d47161ea721228a2ba7a72ce6ecddc917f3bd4ad760f4 [INFO] running `Command { std: "docker" "start" "-a" "94d9fde57737a82d4d5d47161ea721228a2ba7a72ce6ecddc917f3bd4ad760f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94d9fde57737a82d4d5d47161ea721228a2ba7a72ce6ecddc917f3bd4ad760f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94d9fde57737a82d4d5d47161ea721228a2ba7a72ce6ecddc917f3bd4ad760f4", kill_on_drop: false }` [INFO] [stdout] 94d9fde57737a82d4d5d47161ea721228a2ba7a72ce6ecddc917f3bd4ad760f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd36784b71a069d09d5f1457ae1b42523d691eed65694d4c39927bec686c793 [INFO] running `Command { std: "docker" "start" "-a" "afd36784b71a069d09d5f1457ae1b42523d691eed65694d4c39927bec686c793", 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 unicode-ident v1.0.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling pyo3-build-config v0.20.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 pyo3-ffi v0.20.0 [INFO] [stderr] Compiling pyo3 v0.20.0 [INFO] [stderr] Compiling synapse v0.1.0 (/opt/rustwide/workdir/rust) [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling regex v1.9.6 [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 46.38s [INFO] running `Command { std: "docker" "inspect" "afd36784b71a069d09d5f1457ae1b42523d691eed65694d4c39927bec686c793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd36784b71a069d09d5f1457ae1b42523d691eed65694d4c39927bec686c793", kill_on_drop: false }` [INFO] [stdout] afd36784b71a069d09d5f1457ae1b42523d691eed65694d4c39927bec686c793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b12096b7e52f6c2defe3c54ceb4e80295359636a171464cb8217a4c6fad90c [INFO] running `Command { std: "docker" "start" "-a" "85b12096b7e52f6c2defe3c54ceb4e80295359636a171464cb8217a4c6fad90c", 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] [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] 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/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 3.96s [INFO] running `Command { std: "docker" "inspect" "85b12096b7e52f6c2defe3c54ceb4e80295359636a171464cb8217a4c6fad90c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b12096b7e52f6c2defe3c54ceb4e80295359636a171464cb8217a4c6fad90c", kill_on_drop: false }` [INFO] [stdout] 85b12096b7e52f6c2defe3c54ceb4e80295359636a171464cb8217a4c6fad90c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 441677ff3513a6401a97e519e6def2ef10d1973c8ad19c6985f42bc4696dfb1c [INFO] running `Command { std: "docker" "start" "-a" "441677ff3513a6401a97e519e6def2ef10d1973c8ad19c6985f42bc4696dfb1c", 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.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/synapse-c84bebc4aadc5309) [INFO] [stdout] [INFO] [stdout] running 16 tests [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_action ... 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::test_custom_action ... ok [INFO] [stdout] test push::test_deserialize_unstable_msc3664_condition ... ok [INFO] [stdout] test push::test_serialize_condition ... ok [INFO] [stdout] test push::test_serialize_event_match_condition_with_pattern_type ... ok [INFO] [stdout] test push::test_serialize_unstable_msc3664_condition_with_pattern_type ... ok [INFO] [stdout] test push::utils::test_get_domain_from_id ... 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] [stderr] Doc-tests synapse [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [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" "441677ff3513a6401a97e519e6def2ef10d1973c8ad19c6985f42bc4696dfb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441677ff3513a6401a97e519e6def2ef10d1973c8ad19c6985f42bc4696dfb1c", kill_on_drop: false }` [INFO] [stdout] 441677ff3513a6401a97e519e6def2ef10d1973c8ad19c6985f42bc4696dfb1c