[INFO] cloning repository https://github.com/JamesMcGuigan/connect4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesMcGuigan/connect4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesMcGuigan%2Fconnect4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesMcGuigan%2Fconnect4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17222fbbfe240ae1f67ee46631bb0b444a68006d [INFO] testing JamesMcGuigan/connect4 against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesMcGuigan%2Fconnect4" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JamesMcGuigan/connect4 on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JamesMcGuigan/connect4 [INFO] finished tweaking git repo https://github.com/JamesMcGuigan/connect4 [INFO] tweaked toml for git repo https://github.com/JamesMcGuigan/connect4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JamesMcGuigan/connect4 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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded relative-path v1.8.0 [INFO] [stderr] Downloaded cached_proc_macro v0.17.0 [INFO] [stderr] Downloaded rstest_macros v0.18.1 [INFO] [stderr] Downloaded cffi-impl v0.1.6 [INFO] [stderr] Downloaded cffi v0.1.7 [INFO] [stderr] Downloaded cached v0.44.0 [INFO] [stderr] Downloaded contracts v0.6.3 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded rstest v0.18.1 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.0 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] [stderr] Downloaded tokio v1.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5c32aa0749a4f429acef99ea58bb7d38a7c17cb0d6d0df275722f4bac58d589 [INFO] running `Command { std: "docker" "start" "-a" "a5c32aa0749a4f429acef99ea58bb7d38a7c17cb0d6d0df275722f4bac58d589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5c32aa0749a4f429acef99ea58bb7d38a7c17cb0d6d0df275722f4bac58d589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c32aa0749a4f429acef99ea58bb7d38a7c17cb0d6d0df275722f4bac58d589", kill_on_drop: false }` [INFO] [stdout] a5c32aa0749a4f429acef99ea58bb7d38a7c17cb0d6d0df275722f4bac58d589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4720061b3c18b355525fa78e7770f124c2908540cad1f60d612eb4490d337791 [INFO] running `Command { std: "docker" "start" "-a" "4720061b3c18b355525fa78e7770f124c2908540cad1f60d612eb4490d337791", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unindent v0.1.9 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling cffi-impl v0.1.6 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cached_proc_macro v0.17.0 [INFO] [stderr] Compiling tokio v1.30.0 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling contracts v0.6.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling cached v0.44.0 [INFO] [stderr] Compiling cffi v0.1.7 [INFO] [stderr] Compiling connectx 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/inputs/observation.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 20 | #[allow(non_snake_case, dead_code)] [INFO] [stdout] 21 | impl Observation { [INFO] [stdout] | ----------- `Observation` 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/inputs/configuration.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 18 | #[allow(non_snake_case, dead_code, clippy::too_many_arguments)] [INFO] [stdout] 19 | impl Configuration { [INFO] [stdout] | ------------- `Configuration` 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 5m 52s [INFO] running `Command { std: "docker" "inspect" "4720061b3c18b355525fa78e7770f124c2908540cad1f60d612eb4490d337791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4720061b3c18b355525fa78e7770f124c2908540cad1f60d612eb4490d337791", kill_on_drop: false }` [INFO] [stdout] 4720061b3c18b355525fa78e7770f124c2908540cad1f60d612eb4490d337791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f332eec794121bc5f5c5fa51ade352118760d585c03a3a461f548944fbc72ca1 [INFO] running `Command { std: "docker" "start" "-a" "f332eec794121bc5f5c5fa51ade352118760d585c03a3a461f548944fbc72ca1", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rstest_macros v0.18.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling tokio v1.30.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling cached v0.44.0 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling connectx 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/inputs/observation.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 20 | #[allow(non_snake_case, dead_code)] [INFO] [stdout] 21 | impl Observation { [INFO] [stdout] | ----------- `Observation` 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/inputs/configuration.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 18 | #[allow(non_snake_case, dead_code, clippy::too_many_arguments)] [INFO] [stdout] 19 | impl Configuration { [INFO] [stdout] | ------------- `Configuration` 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] Compiling rstest v0.18.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/inputs/observation.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 20 | #[allow(non_snake_case, dead_code)] [INFO] [stdout] 21 | impl Observation { [INFO] [stdout] | ----------- `Observation` 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/inputs/configuration.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stdout] 18 | #[allow(non_snake_case, dead_code, clippy::too_many_arguments)] [INFO] [stdout] 19 | impl Configuration { [INFO] [stdout] | ------------- `Configuration` 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 `test` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "f332eec794121bc5f5c5fa51ade352118760d585c03a3a461f548944fbc72ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f332eec794121bc5f5c5fa51ade352118760d585c03a3a461f548944fbc72ca1", kill_on_drop: false }` [INFO] [stdout] f332eec794121bc5f5c5fa51ade352118760d585c03a3a461f548944fbc72ca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82e00d1d398c66ac6f1af169caf57b986b03145563afd913cce55009a0d497b6 [INFO] running `Command { std: "docker" "start" "-a" "82e00d1d398c66ac6f1af169caf57b986b03145563afd913cce55009a0d497b6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/inputs/observation.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #[pymethods] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stderr] 20 | #[allow(non_snake_case, dead_code)] [INFO] [stderr] 21 | impl Observation { [INFO] [stderr] | ----------- `Observation` 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: 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] [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] --> src/inputs/configuration.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | #[pymethods] [INFO] [stderr] | ^----------- [INFO] [stderr] | | [INFO] [stderr] | move the `impl` block outside of this static `ITEMS` and up 3 bodies [INFO] [stderr] 18 | #[allow(non_snake_case, dead_code, clippy::too_many_arguments)] [INFO] [stderr] 19 | impl Configuration { [INFO] [stderr] | ------------- `Configuration` 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: 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] [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: `connectx` (lib) generated 2 warnings [INFO] [stderr] warning: `connectx` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/connectx-897c1a27e303e6b8) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test agents::agent_mirror::test::test_get_opponent_action_empty ... ok [INFO] [stdout] test agents::agent_mirror::test::test_get_opponent_action_none ... ok [INFO] [stdout] test agents::agent_mirror::test::test_move_0 ... ok [INFO] [stdout] test agents::agent_mirror::test::test_move_col3 ... ok [INFO] [stdout] test agents::agent_mirror::test::test_move_mirror ... ok [INFO] [stdout] test boards::board_array::tests::test_get_index ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_1 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_2 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_3 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_4 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_7 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_6 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_move_player_0 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_move_players ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_2 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_3 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_win::case_5 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_1 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_6 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_4 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_7 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_valid_actions::case_1 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_valid_actions::case_2 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_square_value ... ok [INFO] [stdout] test boards::test_board::tests::test_get_valid_actions::case_3 ... ok [INFO] [stdout] test boards::test_board::tests::test_step_win::case_1 ... ok [INFO] [stdout] test boards::test_board::tests::test_step_win::case_2 ... ok [INFO] [stdout] test boards::test_board::tests::test_get_row::case_5 ... ok [INFO] [stdout] test inputs::observation::tests::from_array::test_from_1 ... ok [INFO] [stdout] test boards::test_board::tests::test_board_draw::case_1 ... ok [INFO] [stdout] test inputs::observation::tests::from_array::test_from_2 ... ok [INFO] [stdout] test inputs::observation::tests::from_array::test_default ... ok [INFO] [stdout] test boards::test_board::tests::test_step_win::case_3 ... ok [INFO] [stdout] test inputs::observation::tests::from_array::test_step ... ok [INFO] [stdout] test boards::test_board::tests::test_step_win::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests connectx [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" "82e00d1d398c66ac6f1af169caf57b986b03145563afd913cce55009a0d497b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e00d1d398c66ac6f1af169caf57b986b03145563afd913cce55009a0d497b6", kill_on_drop: false }` [INFO] [stdout] 82e00d1d398c66ac6f1af169caf57b986b03145563afd913cce55009a0d497b6