[INFO] cloning repository https://github.com/zen-xu/spear [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zen-xu/spear" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzen-xu%2Fspear", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzen-xu%2Fspear'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2c7cb62ddedce008375623622df5411d6b0c3d2 [INFO] checking zen-xu/spear against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzen-xu%2Fspear" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/zen-xu/spear [INFO] finished tweaking git repo https://github.com/zen-xu/spear [INFO] tweaked toml for git repo https://github.com/zen-xu/spear written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zen-xu/spear on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zen-xu/spear 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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.8 [INFO] [stderr] Downloaded impl_ops v0.1.1 [INFO] [stderr] Downloaded pyo3-macros v0.16.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.2 [INFO] [stderr] Downloaded ghost v0.1.2 [INFO] [stderr] Downloaded indoc v1.0.4 [INFO] [stderr] Downloaded pyo3-build-config v0.16.2 [INFO] [stderr] Downloaded relativedelta v0.2.2 [INFO] [stderr] Downloaded pyo3-ffi v0.16.2 [INFO] [stderr] Downloaded inventory v0.2.2 [INFO] [stderr] Downloaded pyo3 v0.16.2 [INFO] [stderr] Downloaded rust_decimal v1.22.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c23ab747ee284a5d16831f21b1d8fdaef439d218add1c6d0f292ed04605dc578 [INFO] running `Command { std: "docker" "start" "-a" "c23ab747ee284a5d16831f21b1d8fdaef439d218add1c6d0f292ed04605dc578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23ab747ee284a5d16831f21b1d8fdaef439d218add1c6d0f292ed04605dc578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23ab747ee284a5d16831f21b1d8fdaef439d218add1c6d0f292ed04605dc578", kill_on_drop: false }` [INFO] [stdout] c23ab747ee284a5d16831f21b1d8fdaef439d218add1c6d0f292ed04605dc578 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a12a5713de6f6f08e2f730736c8bce583ec1d533a80e5129d2f26ff9e3329d02 [INFO] running `Command { std: "docker" "start" "-a" "a12a5713de6f6f08e2f730736c8bce583ec1d533a80e5129d2f26ff9e3329d02", kill_on_drop: false }` [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling pyo3-build-config v0.16.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unindent v0.1.8 [INFO] [stderr] Compiling rust_decimal v1.22.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling indoc v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pyo3-ffi v0.16.2 [INFO] [stderr] Compiling pyo3 v0.16.2 [INFO] [stderr] Checking relativedelta v0.2.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 (/opt/rustwide/workdir/vendor/chrono-tz/chrono-tz-build) [INFO] [stderr] Compiling chrono-tz v0.6.1 (/opt/rustwide/workdir/vendor/chrono-tz) [INFO] [stderr] Compiling pyo3-macros-backend v0.16.2 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Checking inventory v0.2.2 [INFO] [stderr] Compiling pyo3-macros v0.16.2 [INFO] [stderr] Checking atomic-clock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/atomic_clock.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 38 | impl AtomicClock { [INFO] [stdout] | ----------- `AtomicClock` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> src/atomic_clock.rs:1427:1 [INFO] [stdout] | [INFO] [stdout] 1427 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 1428 | impl PyRelativeDelta { [INFO] [stdout] | --------------- `PyRelativeDelta` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> src/hybrid_tz.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 174 | impl PyTz { [INFO] [stdout] | ---- `PyTz` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> src/atomic_clock.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 38 | impl AtomicClock { [INFO] [stdout] | ----------- `AtomicClock` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> src/atomic_clock.rs:1427:1 [INFO] [stdout] | [INFO] [stdout] 1427 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 1428 | impl PyRelativeDelta { [INFO] [stdout] | --------------- `PyRelativeDelta` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] --> src/hybrid_tz.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `__INVENTORY` and up 4 bodies [INFO] [stdout] 174 | impl PyTz { [INFO] [stdout] | ---- `PyTz` 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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 32.93s [INFO] running `Command { std: "docker" "inspect" "a12a5713de6f6f08e2f730736c8bce583ec1d533a80e5129d2f26ff9e3329d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12a5713de6f6f08e2f730736c8bce583ec1d533a80e5129d2f26ff9e3329d02", kill_on_drop: false }` [INFO] [stdout] a12a5713de6f6f08e2f730736c8bce583ec1d533a80e5129d2f26ff9e3329d02