[INFO] cloning repository https://github.com/Ameyanagi/chemical-formula-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ameyanagi/chemical-formula-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmeyanagi%2Fchemical-formula-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmeyanagi%2Fchemical-formula-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4b43d321c5f5c3fd45b3a1156b973d6670ab36b [INFO] checking Ameyanagi/chemical-formula-rs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmeyanagi%2Fchemical-formula-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Ameyanagi/chemical-formula-rs [INFO] finished tweaking git repo https://github.com/Ameyanagi/chemical-formula-rs [INFO] tweaked toml for git repo https://github.com/Ameyanagi/chemical-formula-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ameyanagi/chemical-formula-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/Ameyanagi/chemical-formula-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-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] d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b [INFO] running `Command { std: "docker" "start" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b", 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" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b", 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" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.121 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking pest v2.8.6 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.121 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling pyo3-build-config v0.24.2 [INFO] [stderr] Checking approx v0.5.1 [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] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.121 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.121 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chemical-formula v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pyo3-macros v0.24.2 [INFO] [stderr] Checking js-sys v0.3.98 [INFO] [stderr] Checking chemical-formula-python v0.1.3 (/opt/rustwide/workdir/bindings/python) [INFO] [stderr] error: could not compile `chemical-formula-python` (lib test) due to 4 previous errors [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_formula<'py>(py: Python<'py>, input: &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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_molecular_formula<'py>(py: Python<'py>, input: &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] [stderr] error: could not compile `chemical-formula-python` (lib) due to 4 previous errors [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_wt_percent<'py>(py: Python<'py>, input: &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] --> bindings/python/src/lib.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | fn molecular_weight(input: &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] --> bindings/python/src/lib.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_formula<'py>(py: Python<'py>, input: &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] --> bindings/python/src/lib.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_molecular_formula<'py>(py: Python<'py>, input: &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] --> bindings/python/src/lib.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_wt_percent<'py>(py: Python<'py>, input: &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] --> bindings/python/src/lib.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | fn molecular_weight(input: &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] running `Command { std: "docker" "inspect" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b", kill_on_drop: false }` [INFO] [stdout] d432b4ec6225da6a9562c441229afa8794b69acf0d7e04ef03087b4cb01bae7b