[INFO] cloning repository https://github.com/stestagg/simhash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stestagg/simhash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstestagg%2Fsimhash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstestagg%2Fsimhash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ace28ebe00fc6066975fd59c3df05d0064280bf6 [INFO] checking stestagg/simhash against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstestagg%2Fsimhash" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stestagg/simhash [INFO] finished tweaking git repo https://github.com/stestagg/simhash [INFO] tweaked toml for git repo https://github.com/stestagg/simhash written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stestagg/simhash on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stestagg/simhash 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.26.1 [INFO] [stderr] Downloaded ambassador v0.4.2 [INFO] [stderr] Downloaded rstest_macros v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0200d25985e83866ac231e10ae2740203626c201df72d719ab66bb5d4bc2c300 [INFO] running `Command { std: "docker" "start" "-a" "0200d25985e83866ac231e10ae2740203626c201df72d719ab66bb5d4bc2c300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0200d25985e83866ac231e10ae2740203626c201df72d719ab66bb5d4bc2c300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0200d25985e83866ac231e10ae2740203626c201df72d719ab66bb5d4bc2c300", kill_on_drop: false }` [INFO] [stdout] 0200d25985e83866ac231e10ae2740203626c201df72d719ab66bb5d4bc2c300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03985d9ad64f9d019f3f754e2b429e57f35335dbcec441153266c37acfcaf775 [INFO] running `Command { std: "docker" "start" "-a" "03985d9ad64f9d019f3f754e2b429e57f35335dbcec441153266c37acfcaf775", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling ambassador v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking simhash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PyErr` and `PyObject` [INFO] [stdout] --> src/simhasher.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{IntoPyObject, Py, PyAny, PyErr, PyObject, PyResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/hash.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $body [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyString` [INFO] [stdout] --> src/lib.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use pyo3::types::{PyList, PyString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> src/simhasher.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{IntoPyObject, Py, PyAny, PyErr, PyObject, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PyErr` and `PyObject` [INFO] [stdout] --> src/simhasher.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{IntoPyObject, Py, PyAny, PyErr, PyObject, PyResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/hash.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | $body [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyString` [INFO] [stdout] --> src/lib.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use pyo3::types::{PyList, PyString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> src/simhasher.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use pyo3::{IntoPyObject, Py, PyAny, PyErr, PyObject, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn group_texts(&self, py: Python, texts: Bound, max_diff: usize) -> PyResult>>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SequentialSlidingWindowIterExt` is never used [INFO] [stdout] --> src/window.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait SequentialSlidingWindowIterExt> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SequentialSlidingWindowIter` is never constructed [INFO] [stdout] --> src/window.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SequentialSlidingWindowIter> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl > SequentialSlidingWindowIter { [INFO] [stdout] | --------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(inp: T, window_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl HashTree { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl + Eq + Hash, T> SimMap { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_capacity(hasher: SimHasher, max_dist: u8, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn hasher(&self) -> &SimHasher { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get(&self, key: &K) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, key: &K) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn group_texts(&self, py: Python, texts: Bound, max_diff: usize) -> PyResult>>> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/tree.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl HashTree { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl + Eq + Hash, T> SimMap { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_capacity(hasher: SimHasher, max_dist: u8, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn hasher(&self) -> &SimHasher { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get(&self, key: &K) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, key: &K) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.65s [INFO] running `Command { std: "docker" "inspect" "03985d9ad64f9d019f3f754e2b429e57f35335dbcec441153266c37acfcaf775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03985d9ad64f9d019f3f754e2b429e57f35335dbcec441153266c37acfcaf775", kill_on_drop: false }` [INFO] [stdout] 03985d9ad64f9d019f3f754e2b429e57f35335dbcec441153266c37acfcaf775