[INFO] cloning repository https://github.com/Jens-Braun/pygs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jens-Braun/pygs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJens-Braun%2Fpygs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJens-Braun%2Fpygs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5c08d6582d03b34d1d1943a4d7f315969435f71 [INFO] checking Jens-Braun/pygs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJens-Braun%2Fpygs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jens-Braun/pygs [INFO] finished tweaking git repo https://github.com/Jens-Braun/pygs [INFO] tweaked toml for git repo https://github.com/Jens-Braun/pygs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jens-Braun/pygs 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/Jens-Braun/pygs 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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123 [INFO] running `Command { std: "docker" "start" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123", 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" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123", 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" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling pyo3-build-config v0.24.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Checking indexmap v2.10.0 [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 peg v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling pyo3-macros v0.24.2 [INFO] [stderr] Checking pyo3-log v0.12.4 [INFO] [stderr] Checking pygs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AmplitudeType` [INFO] [stdout] --> src/blha/order_writer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{AmplitudeType, Order}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AmplitudeType` [INFO] [stdout] --> src/blha/order_writer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{AmplitudeType, Order}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Particle` is more private than the item `Model::particles` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) particles: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Model::particles` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Particle` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/model.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Particle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nlo_coupling` is never read [INFO] [stdout] --> src/blha/mod.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct Order<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) nlo_coupling: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/blha/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct BLHAInterface<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 75 | start: Symbol<'a, unsafe extern "C" fn(*const c_char, *mut i32)>, [INFO] [stdout] 76 | info: Symbol<'a, unsafe extern "C" fn(*const c_char, *const c_char, *mut c_char)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pdg_id` and `name` are never read [INFO] [stdout] --> src/model.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 59 | pdg_id: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/gosam.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | fn setup(&mut self, py: Python<'_>) -> 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] --> src/gosam.rs:265:77 [INFO] [stdout] | [INFO] [stdout] 265 | fn set_parameter(&mut self, parameter: String, real: f64, imag: f64) -> 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] --> src/gosam.rs:274:53 [INFO] [stdout] | [INFO] [stdout] 274 | fn print_parameters(&self, filename: String) -> 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] --> src/gosam.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> 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] warning: type `Particle` is more private than the item `model::Model::particles` [INFO] [stdout] --> src/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) particles: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `model::Model::particles` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Particle` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/model.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Particle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/gosam.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | ) -> PyResult<(Vec<[f64; 4]>, Vec)> { [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] --> src/gosam.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 338 | ) -> PyResult, Vec)>> { [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] warning: field `nlo_coupling` is never read [INFO] [stdout] --> src/blha/mod.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct Order<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) nlo_coupling: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `info` is never read [INFO] [stdout] --> src/blha/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct BLHAInterface<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 75 | start: Symbol<'a, unsafe extern "C" fn(*const c_char, *mut i32)>, [INFO] [stdout] 76 | info: Symbol<'a, unsafe extern "C" fn(*const c_char, *const c_char, *mut c_char)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pdg_id` and `name` are never read [INFO] [stdout] --> src/model.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 59 | pdg_id: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/gosam.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | fn setup(&mut self, py: Python<'_>) -> 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] --> src/gosam.rs:265:77 [INFO] [stdout] | [INFO] [stdout] 265 | fn set_parameter(&mut self, parameter: String, real: f64, imag: f64) -> 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] --> src/gosam.rs:274:53 [INFO] [stdout] | [INFO] [stdout] 274 | fn print_parameters(&self, filename: String) -> 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] --> src/gosam.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | ) -> 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] --> src/gosam.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | ) -> PyResult<(Vec<[f64; 4]>, Vec)> { [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] --> src/gosam.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 338 | ) -> PyResult, Vec)>> { [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 `pygs` (lib) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pygs` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123", kill_on_drop: false }` [INFO] [stdout] f77502ec1d577da4248e22a472b1f6dc609109d40f3d146bc579b6b8168b7123