[INFO] cloning repository https://github.com/HZNUZC/zenfeed_py [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HZNUZC/zenfeed_py" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHZNUZC%2Fzenfeed_py", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHZNUZC%2Fzenfeed_py'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 434fab2d976df9b66ddc48875b0c4213675ccf95 [INFO] checking HZNUZC/zenfeed_py against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHZNUZC%2Fzenfeed_py" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HZNUZC/zenfeed_py [INFO] finished tweaking git repo https://github.com/HZNUZC/zenfeed_py [INFO] tweaked toml for git repo https://github.com/HZNUZC/zenfeed_py written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HZNUZC/zenfeed_py 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/HZNUZC/zenfeed_py 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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4 [INFO] running `Command { std: "docker" "start" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4", 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" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4", 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" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4" "/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.5 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling pyo3-build-config v0.28.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling pyo3-macros-backend v0.28.3 [INFO] [stderr] Compiling pyo3-ffi v0.28.3 [INFO] [stderr] Compiling pyo3 v0.28.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.28.3 [INFO] [stderr] Checking zenfeed-py v0.1.0 (/opt/rustwide/workdir) [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] --> src/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[pyclass] [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] --> src/model.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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] --> src/model.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[pyclass] [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] --> src/model.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [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: unused import: `Write` [INFO] [stdout] --> src/storage/block.rs:7:77 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, HashSet, hash_map::Entry}, io::{BufReader, Write}, path::PathBuf}; [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: `Write` [INFO] [stdout] --> src/storage/block.rs:7:77 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::{HashMap, HashSet, hash_map::Entry}, io::{BufReader, Write}, path::PathBuf}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/block/chunk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Chunk { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new() -> Chunk { Chunk { vals: Vec::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_a_label` are never used [INFO] [stdout] --> src/storage/block/inverted_index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl InvertedIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new() -> InvertedIndex { InvertedIndex { i_index: HashMap::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read_a_label(&self, label_val: &str) -> Option<&[u64]>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/storage/block/counter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Counter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/block/chunk.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Chunk { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new() -> Chunk { Chunk { vals: Vec::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_a_label` are never used [INFO] [stdout] --> src/storage/block/inverted_index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl InvertedIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new() -> InvertedIndex { InvertedIndex { i_index: HashMap::new() } } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read_a_label(&self, label_val: &str) -> Option<&[u64]>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/storage/block/counter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Counter { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/storage.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn append(&mut self, feeds: Bound<'_, PyList>) -> 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/storage.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn append(&mut self, feeds: Bound<'_, PyList>) -> 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] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | h.save(&self.manifest.val_get(self.hot_block_key.unwrap()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 98 | let _unused = h.save(&self.manifest.val_get(self.hot_block_key.unwrap()).unwrap()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | h.save(&self.manifest.val_get(self.hot_block_key.unwrap()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 98 | let _unused = h.save(&self.manifest.val_get(self.hot_block_key.unwrap()).unwrap()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 119 | let _unused = self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 119 | let _unused = self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 130 | let _unused = self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | self.manifest.save(&self.manifest_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 135 | let _unused = self.manifest.save(&self.manifest_path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 130 | let _unused = self.hot_block.as_ref().unwrap().save(&path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | self.manifest.save(&self.manifest_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 135 | let _unused = self.manifest.save(&self.manifest_path); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zenfeed-py` (lib) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zenfeed-py` (lib test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4", kill_on_drop: false }` [INFO] [stdout] ae80b2b5cef7de72bc4b21a4df4764ee33bf99344a0c4e6047fc8eb5aaf9e0c4