[INFO] cloning repository https://github.com/SiesslPhillip/pyo3_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SiesslPhillip/pyo3_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiesslPhillip%2Fpyo3_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiesslPhillip%2Fpyo3_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee6e2ca4f8d0609ec13a74179a5e622298651184 [INFO] checking SiesslPhillip/pyo3_examples against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiesslPhillip%2Fpyo3_examples" "/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/SiesslPhillip/pyo3_examples [INFO] finished tweaking git repo https://github.com/SiesslPhillip/pyo3_examples [INFO] tweaked toml for git repo https://github.com/SiesslPhillip/pyo3_examples written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SiesslPhillip/pyo3_examples 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/SiesslPhillip/pyo3_examples 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] 9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129 [INFO] running `Command { std: "docker" "start" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129", 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" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129", 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" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.4 [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling pyo3-build-config v0.27.2 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling pyo3-ffi v0.27.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.2 [INFO] [stderr] Compiling pyo3 v0.27.2 [INFO] [stderr] Compiling pyo3-macros v0.27.2 [INFO] [stderr] Checking python_rust v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/morsecode.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl MorseLeaf { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 16 | fn new(input_value: char) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/binarytree.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn contains(&self, search_value: i64) -> 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] --> src/search.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn binary_search<'py>(input_value: i64, input_list: Vec) -> 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] --> src/sorting.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn selection_sort(mut input_vec: Vec) -> 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] --> src/sorting.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn shell_sort(mut input_vec: Vec) -> 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] --> src/sorting.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn insertion_sort(mut input_vec: Vec) -> 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] --> src/quick_sort.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn quick_sort_py(mut input_vec: Vec) -> 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] --> src/lib.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn sort_string(input: 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: `PyErr` [INFO] [stdout] --> src/lib.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | fn mirror_string(input_string: 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] [stderr] error: could not compile `python_rust` (lib test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/morsecode.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl MorseLeaf { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 16 | fn new(input_value: char) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/binarytree.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn contains(&self, search_value: i64) -> 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] --> src/search.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn binary_search<'py>(input_value: i64, input_list: Vec) -> 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] --> src/sorting.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn selection_sort(mut input_vec: Vec) -> 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] --> src/sorting.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn shell_sort(mut input_vec: Vec) -> 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] --> src/sorting.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn insertion_sort(mut input_vec: Vec) -> 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] --> src/quick_sort.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn quick_sort_py(mut input_vec: Vec) -> 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] --> src/lib.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn sort_string(input: 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: `PyErr` [INFO] [stdout] --> src/lib.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | fn mirror_string(input_string: 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] [stderr] error: could not compile `python_rust` (lib) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129", kill_on_drop: false }` [INFO] [stdout] 9c11b4d7e6e4284c104f9ced035d1e90b16cbb65b9c3e59dc4ac7c7a3f531129