[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] checking JamesMcGuigan/connect4 against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesMcGuigan%2Fconnect4" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JamesMcGuigan/connect4 on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded relative-path v1.8.0 [INFO] [stderr] Downloaded rstest v0.18.1 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded rstest_macros v0.18.1 [INFO] [stderr] Downloaded cffi-impl v0.1.6 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded cffi v0.1.7 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded cached_proc_macro v0.17.0 [INFO] [stderr] Downloaded target-lexicon v0.12.4 [INFO] [stderr] Downloaded contracts v0.6.3 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded cached v0.44.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded object v0.30.4 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] [stderr] Downloaded tokio v1.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 171aa401502940ac76ec2179c8253dbb914945ad83293c14fed85208c48e977b [INFO] running `Command { std: "docker" "start" "-a" "171aa401502940ac76ec2179c8253dbb914945ad83293c14fed85208c48e977b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "171aa401502940ac76ec2179c8253dbb914945ad83293c14fed85208c48e977b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171aa401502940ac76ec2179c8253dbb914945ad83293c14fed85208c48e977b", kill_on_drop: false }` [INFO] [stdout] 171aa401502940ac76ec2179c8253dbb914945ad83293c14fed85208c48e977b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60ff336d722bb337dc3e864199b9f756b3928cc7fe8b0fef804752dcc29471d8 [INFO] running `Command { std: "docker" "start" "-a" "60ff336d722bb337dc3e864199b9f756b3928cc7fe8b0fef804752dcc29471d8", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.doctest [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 rand_core v0.4.2 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling rstest_macros v0.18.1 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking unindent v0.1.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling cffi-impl v0.1.6 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Compiling contracts v0.6.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling cached_proc_macro v0.17.0 [INFO] [stderr] Checking tokio v1.30.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking cached v0.44.0 [INFO] [stderr] Checking cffi v0.1.7 [INFO] [stderr] Checking connectx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/boards/board_array.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] 71 + fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/boards/board_vector.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] 62 + fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | [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/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] Checking rstest v0.18.1 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/boards/board_array.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] 71 + fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/boards/board_vector.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] 62 + fn step(&self, action: GameCol) -> Option> { [INFO] [stdout] | [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/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 3m 15s [INFO] running `Command { std: "docker" "inspect" "60ff336d722bb337dc3e864199b9f756b3928cc7fe8b0fef804752dcc29471d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ff336d722bb337dc3e864199b9f756b3928cc7fe8b0fef804752dcc29471d8", kill_on_drop: false }` [INFO] [stdout] 60ff336d722bb337dc3e864199b9f756b3928cc7fe8b0fef804752dcc29471d8