[INFO] cloning repository https://github.com/0x640480/castle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x640480/castle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x640480%2Fcastle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x640480%2Fcastle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1542166339899321f81fdb4f128274b5c7359173 [INFO] checking 0x640480/castle-rs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x640480%2Fcastle-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0x640480/castle-rs [INFO] finished tweaking git repo https://github.com/0x640480/castle-rs [INFO] tweaked toml for git repo https://github.com/0x640480/castle-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0x640480/castle-rs 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/0x640480/castle-rs 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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a [INFO] running `Command { std: "docker" "start" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a", 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" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a", 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" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a" "/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.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling python3-dll-a v0.2.15 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking murmurhash3 v0.0.5 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling napi-build v2.3.2 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling napi v3.9.3 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling castle-token-node v0.1.0 (/opt/rustwide/workdir/node) [INFO] [stderr] Checking ctor v1.0.7 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Checking napi-sys v3.2.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling convert_case v0.11.0 [INFO] [stderr] Compiling pyo3-build-config v0.24.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling pyo3-ffi v0.24.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.2 [INFO] [stderr] Compiling pyo3 v0.24.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling napi-derive-backend v5.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Compiling napi-derive v3.5.6 [INFO] [stderr] Checking castle-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pyo3-macros v0.24.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking castle-token-py v0.1.0 (/opt/rustwide/workdir/python) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/lib.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | fn preset(tag: &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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_devices(path: PathBuf) -> 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 `castle-token-py` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/lib.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | fn preset(tag: &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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | fn load_devices(path: PathBuf) -> 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 `castle-token-py` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a", kill_on_drop: false }` [INFO] [stdout] 64b0602568c428f66ed3b3e68593d4a3d7b0661ee7cc46a45194ad871023313a