[INFO] cloning repository https://github.com/SpideyZac/catan-ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpideyZac/catan-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpideyZac%2Fcatan-ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpideyZac%2Fcatan-ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 019a25550dbad5ea4e0879705c687162023f10b5 [INFO] checking SpideyZac/catan-ai against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpideyZac%2Fcatan-ai" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpideyZac/catan-ai [INFO] finished tweaking git repo https://github.com/SpideyZac/catan-ai [INFO] tweaked toml for git repo https://github.com/SpideyZac/catan-ai written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpideyZac/catan-ai on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpideyZac/catan-ai 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584 [INFO] running `Command { std: "docker" "start" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Compiling pyo3-build-config v0.29.3 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling pyo3-ffi v0.29.3 [INFO] [stderr] Compiling pyo3 v0.29.3 [INFO] [stderr] Compiling numpy v0.29.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.3 [INFO] [stderr] Checking catan-core v0.1.0 (/opt/rustwide/workdir/crates/catan-core) [INFO] [stderr] Compiling pyo3-macros v0.29.3 [INFO] [stderr] Checking catan-py v0.1.0 (/opt/rustwide/workdir/crates/catan-py) [INFO] [stdout] warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Clone` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation. [INFO] [stdout] --> crates/catan-py/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[pyclass(module = "catan_ai._engine")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Clone` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation. [INFO] [stdout] --> crates/catan-py/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | #[pyclass(module = "catan_ai._engine")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn from_json(s: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | fn to_json(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn public_vp(&self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | fn total_vp(&self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:230:53 [INFO] [stdout] | [INFO] [stdout] 230 | fn legal_actions_json(&mut self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:237:55 [INFO] [stdout] | [INFO] [stdout] 237 | fn check_json(&self, player: u8, action: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:244:59 [INFO] [stdout] | [INFO] [stdout] 244 | fn apply_json(&mut self, player: u8, action: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | fn apply_index(&mut self, player: u8, index: usize) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:258:60 [INFO] [stdout] | [INFO] [stdout] 258 | fn action_to_index(&self, player: u8, action: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:264:65 [INFO] [stdout] | [INFO] [stdout] 264 | fn index_to_action_json(&self, player: u8, index: usize) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:272:60 [INFO] [stdout] | [INFO] [stdout] 272 | fn observe<'py>(&self, py: Python<'py>, player: u8) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:280:67 [INFO] [stdout] | [INFO] [stdout] 280 | fn legal_mask<'py>(&mut self, py: Python<'py>, player: u8) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn view_json(&self, viewer: Option) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | fn board_json(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | fn drain_events_json(&mut self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:306:64 [INFO] [stdout] | [INFO] [stdout] 306 | fn redact_events_json(events: &str, viewer: Option) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 314 | fn bot_action_json(&self, player: u8, kind: &str, seed: u64) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | fn force_roll(&mut self, d1: u8, d2: u8) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ) -> PyResult<( [INFO] [stdout] | __________^ [INFO] [stdout] 611 | | Bound<'py, PyArray2>, [INFO] [stdout] 612 | | Bound<'py, PyArray2>, [INFO] [stdout] 613 | | Bound<'py, PyArray1>, [INFO] [stdout] 614 | | )> { [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:653:10 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> PyResult<( [INFO] [stdout] | __________^ [INFO] [stdout] 654 | | Bound<'py, PyArray2>, [INFO] [stdout] 655 | | Bound<'py, PyArray1>, [INFO] [stdout] 656 | | Bound<'py, PyArray1>, [INFO] [stdout] 657 | | Bound<'py, PyArray1>, [INFO] [stdout] 658 | | )> { [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:700:58 [INFO] [stdout] | [INFO] [stdout] 700 | fn observe_all_seats<'py>(&self, py: Python<'py>) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:732:37 [INFO] [stdout] | [INFO] [stdout] 732 | fn game(&self, index: usize) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:750:90 [INFO] [stdout] | [INFO] [stdout] 750 | fn arena(py: Python<'_>, kinds: Vec, games: usize, seed: u64, max_turns: u32) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catan-py` (lib test) due to 23 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn from_json(s: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | fn to_json(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn public_vp(&self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | fn total_vp(&self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:230:53 [INFO] [stdout] | [INFO] [stdout] 230 | fn legal_actions_json(&mut self, player: u8) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:237:55 [INFO] [stdout] | [INFO] [stdout] 237 | fn check_json(&self, player: u8, action: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:244:59 [INFO] [stdout] | [INFO] [stdout] 244 | fn apply_json(&mut self, player: u8, action: &str) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | fn apply_index(&mut self, player: u8, index: usize) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:258:60 [INFO] [stdout] | [INFO] [stdout] 258 | fn action_to_index(&self, player: u8, action: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:264:65 [INFO] [stdout] | [INFO] [stdout] 264 | fn index_to_action_json(&self, player: u8, index: usize) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:272:60 [INFO] [stdout] | [INFO] [stdout] 272 | fn observe<'py>(&self, py: Python<'py>, player: u8) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:280:67 [INFO] [stdout] | [INFO] [stdout] 280 | fn legal_mask<'py>(&mut self, py: Python<'py>, player: u8) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | fn view_json(&self, viewer: Option) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | fn board_json(&self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | fn drain_events_json(&mut self) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:306:64 [INFO] [stdout] | [INFO] [stdout] 306 | fn redact_events_json(events: &str, viewer: Option) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 314 | fn bot_action_json(&self, player: u8, kind: &str, seed: u64) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | fn force_roll(&mut self, d1: u8, d2: u8) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:610:10 [INFO] [stdout] | [INFO] [stdout] 610 | ) -> PyResult<( [INFO] [stdout] | __________^ [INFO] [stdout] 611 | | Bound<'py, PyArray2>, [INFO] [stdout] 612 | | Bound<'py, PyArray2>, [INFO] [stdout] 613 | | Bound<'py, PyArray1>, [INFO] [stdout] 614 | | )> { [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:653:10 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> PyResult<( [INFO] [stdout] | __________^ [INFO] [stdout] 654 | | Bound<'py, PyArray2>, [INFO] [stdout] 655 | | Bound<'py, PyArray1>, [INFO] [stdout] 656 | | Bound<'py, PyArray1>, [INFO] [stdout] 657 | | Bound<'py, PyArray1>, [INFO] [stdout] 658 | | )> { [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:700:58 [INFO] [stdout] | [INFO] [stdout] 700 | fn observe_all_seats<'py>(&self, py: Python<'py>) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:732:37 [INFO] [stdout] | [INFO] [stdout] 732 | fn game(&self, index: usize) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/catan-py/src/lib.rs:750:90 [INFO] [stdout] | [INFO] [stdout] 750 | fn arena(py: Python<'_>, kinds: Vec, games: usize, seed: u64, max_turns: u32) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catan-py` (lib) due to 23 previous errors; 1 warning emitted [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> crates/catan-core/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | serde_json.workspace = true [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] help: to still use for development builds, move to `dev-dependencies` [INFO] [stderr] warning: `catan-core` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584", kill_on_drop: false }` [INFO] [stdout] 386e693678512c76f6c2f4b1ace63ea43f904d076212a5fc67d940bc0338a584