[INFO] cloning repository https://github.com/andyyu2004/bit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andyyu2004/bit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4735bd925019b5e188122b0e6052d6c4ae3639ac [INFO] checking andyyu2004/bit against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andyyu2004/bit on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andyyu2004/bit [INFO] finished tweaking git repo https://github.com/andyyu2004/bit [INFO] tweaked toml for git repo https://github.com/andyyu2004/bit written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andyyu2004/bit 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/diffy` [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/rust-fallible-iterator` [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/gitoxide` [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/jwalk` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse-display-derive v0.8.2 [INFO] [stderr] Downloaded test-log v0.2.12 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded parse-display v0.8.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded structmeta-derive v0.2.0 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded filebuffer v0.4.0 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded assert_cmd v1.0.8 [INFO] [stderr] Downloaded clap_builder v4.4.0 [INFO] [stderr] Downloaded criterion v0.3.6 [INFO] [stderr] Downloaded bstr v1.6.0 [INFO] [stderr] Downloaded rustix v0.38.9 [INFO] [stderr] Downloaded csv v1.2.2 [INFO] [stderr] Downloaded object v0.32.0 [INFO] [stderr] Downloaded pretty_assertions v0.7.2 [INFO] [stderr] Downloaded clap_derive v4.4.0 [INFO] [stderr] Downloaded clap v4.4.0 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded async-scoped v0.7.1 [INFO] [stderr] Downloaded globset v0.4.13 [INFO] [stderr] Downloaded criterion-plot v0.4.5 [INFO] [stderr] Downloaded git-url-parse v0.3.1 [INFO] [stderr] Downloaded indexed_vec v1.2.1 [INFO] [stderr] Downloaded openssh v0.8.1 [INFO] [stderr] Downloaded strum_macros v0.20.1 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded owo-colors v2.1.0 [INFO] [stderr] Downloaded structmeta v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f68b28ac21725fcd7ddab4d1a786e8a0248df110593ce9839d8d667242ff4882 [INFO] running `Command { std: "docker" "start" "-a" "f68b28ac21725fcd7ddab4d1a786e8a0248df110593ce9839d8d667242ff4882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f68b28ac21725fcd7ddab4d1a786e8a0248df110593ce9839d8d667242ff4882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f68b28ac21725fcd7ddab4d1a786e8a0248df110593ce9839d8d667242ff4882", kill_on_drop: false }` [INFO] [stdout] f68b28ac21725fcd7ddab4d1a786e8a0248df110593ce9839d8d667242ff4882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f923f40cb89d540b737809be2431127faa86e2174268415e942373a2db2c2410 [INFO] running `Command { std: "docker" "start" "-a" "f923f40cb89d540b737809be2431127faa86e2174268415e942373a2db2c2410", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling rustix v0.38.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking object v0.32.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking diffy v0.2.1 (https://github.com/andyyu2004/diffy#25f01fd8) [INFO] [stderr] Checking filebuffer v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking fallible-iterator v0.2.0 (https://github.com/andyyu2004/rust-fallible-iterator#4f836187) [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking bit-ds v0.1.0 (/opt/rustwide/workdir/bit-ds) [INFO] [stderr] Checking owo-colors v2.1.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking proc-macro2 v1.0.66 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Checking git-config v0.1.6 (https://github.com/andyyu2004/gitoxide#a8692e64) [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking jwalk v0.6.1-alpha.0 (https://github.com/andyyu2004/jwalk#5c3411d0) [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking doc-comment v0.3.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling bit-derive v0.1.0 (/opt/rustwide/workdir/bit-derive) [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling clap_derive v4.4.0 [INFO] [stderr] Checking enumflags2 v0.7.7 [INFO] [stderr] Compiling test-log v0.2.12 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Checking git-url-parse v0.3.1 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling parse-display-derive v0.8.2 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking openssh v0.8.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking async-scoped v0.7.1 [INFO] [stderr] Checking parse-display v0.8.2 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking indexed_vec v1.2.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking libbit v0.1.0 (/opt/rustwide/workdir/libbit) [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> libbit/src/graph.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub use dag::{Node, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitRepo` is imported redundantly [INFO] [stdout] --> libbit/src/transport/ssh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitRepo` is already imported here [INFO] [stdout] 2 | use crate::repo::BitRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_add::*` [INFO] [stdout] --> libbit/src/cmd/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use bit_add::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_write_tree::*` [INFO] [stdout] --> libbit/src/cmd/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use bit_write_tree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> libbit/src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitGenericError` is imported redundantly [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitGenericError` is already imported here [INFO] [stdout] 2 | use crate::error::BitGenericError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FallibleLendingIterator` is imported redundantly [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FallibleLendingIterator` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use fallible_iterator::FallibleLendingIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/hash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitEntry` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitEntry` is already imported here [INFO] [stdout] 2 | use crate::io::BufReadExt; [INFO] [stdout] 3 | use crate::iter::BitEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Deserialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::serialize::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timespec` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timespec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use std::fmt::{self, Debug, Formatter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Formatter` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Formatter` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use std::fmt::{self, Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/iter/tree_iter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> libbit/src/iter/walk.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/obj/tree.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitResult` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitResult` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReadExt` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufReadExt` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashReader` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `HashReader` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadExt` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `ReadExt` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitPackObjRaw` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitPackObjRaw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::obj::{BitPackObjRaw, Oid}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Oid` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Oid` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::obj::{BitPackObjRaw, Oid}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Serialize` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Serialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::serialize::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FxHashMap` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FxHashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use rustc_hash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufRead` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/delta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/io.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_transmute_copy` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_transmute_copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> libbit/src/repo.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | self.with_async(async move |repo| match f(repo.clone()).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `diff_partial_cmp` to be a fn item that returns `bool`, but it returns `Option` [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:412:52 [INFO] [stdout] | [INFO] [stdout] 412 | debug_assert!(self.status.new.is_sorted_by(BitEntry::diff_partial_cmp)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: required by a bound in `core::slice::::is_sorted_by` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/slice/mod.rs:4099:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `diff_partial_cmp` to be a fn item that returns `bool`, but it returns `Option` [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:413:56 [INFO] [stdout] | [INFO] [stdout] 413 | debug_assert!(self.status.deleted.is_sorted_by(BitEntry::diff_partial_cmp)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: required by a bound in `core::slice::::is_sorted_by` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/slice/mod.rs:4099:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libbit` (lib) due to 4 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `BitRepo` is imported redundantly [INFO] [stdout] --> libbit/src/transport/ssh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitRepo` is already imported here [INFO] [stdout] 2 | use crate::repo::BitRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_add::*` [INFO] [stdout] --> libbit/src/cmd/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use bit_add::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_write_tree::*` [INFO] [stdout] --> libbit/src/cmd/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use bit_write_tree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> libbit/src/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitGenericError` is imported redundantly [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitGenericError` is already imported here [INFO] [stdout] 2 | use crate::error::BitGenericError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FallibleLendingIterator` is imported redundantly [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FallibleLendingIterator` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use fallible_iterator::FallibleLendingIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/hash.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitEntry` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitEntry` is already imported here [INFO] [stdout] 2 | use crate::io::BufReadExt; [INFO] [stdout] 3 | use crate::iter::BitEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Deserialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::serialize::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timespec` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timespec` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use std::fmt::{self, Debug, Formatter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Formatter` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Formatter` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use std::fmt::{self, Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> libbit/src/index/index_entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitPath` is imported redundantly [INFO] [stdout] --> libbit/src/index/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitPath` is already imported here [INFO] [stdout] 2 | use crate::error::BitGenericError; [INFO] [stdout] 3 | use crate::path::BitPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FallibleIterator` is imported redundantly [INFO] [stdout] --> libbit/src/index/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FallibleIterator` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use fallible_iterator::FallibleIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Itertools` is imported redundantly [INFO] [stdout] --> libbit/src/index/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Itertools` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> libbit/src/index/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/index/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FallibleIterator` is imported redundantly [INFO] [stdout] --> libbit/src/index/bench.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FallibleIterator` is already imported here [INFO] [stdout] 2 | use fallible_iterator::FallibleIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/iter/tree_iter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ordering` is imported redundantly [INFO] [stdout] --> libbit/src/iter/walk.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> libbit/src/obj/tree.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitRepo` is imported redundantly [INFO] [stdout] --> libbit/src/obj/commit_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitRepo` is already imported here [INFO] [stdout] 2 | use crate::refs::{BitRef, SymbolicRef}; [INFO] [stdout] 3 | use crate::repo::BitRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Oid` is imported redundantly [INFO] [stdout] --> libbit/src/obj/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Oid` is already imported here [INFO] [stdout] 2 | use crate::obj::Oid; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitResult` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitResult` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReadExt` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufReadExt` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashReader` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `HashReader` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadExt` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `ReadExt` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::io::{BufReadExt, HashReader, ReadExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitPackObjRaw` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitPackObjRaw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::obj::{BitPackObjRaw, Oid}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Oid` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Oid` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::obj::{BitPackObjRaw, Oid}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Serialize` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Serialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::serialize::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FxHashMap` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FxHashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use rustc_hash::FxHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufRead` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufRead` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> libbit/src/pack/indexer.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PackIndexer` is imported redundantly [INFO] [stdout] --> libbit/src/pack/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PackIndexer` is already imported here [INFO] [stdout] 2 | use crate::pack::indexer::PackIndexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitResult` is imported redundantly [INFO] [stdout] --> libbit/src/pathspec.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | use super::*; [INFO] [stdout] | -------- the item `BitResult` is already imported here [INFO] [stdout] 120 | use crate::error::BitResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitResult` is imported redundantly [INFO] [stdout] --> libbit/src/refs/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitResult` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BitRepo` is imported redundantly [INFO] [stdout] --> libbit/src/refs/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BitRepo` is already imported here [INFO] [stdout] 2 | use crate::error::BitResult; [INFO] [stdout] 3 | use crate::repo::BitRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> libbit/src/refs/tests.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Deserialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::serialize::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Serialize` is imported redundantly [INFO] [stdout] --> libbit/src/refs/tests.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Serialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::serialize::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> libbit/src/refs/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/delta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> libbit/src/io.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SHA1Hash` is imported redundantly [INFO] [stdout] --> libbit/src/io/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `SHA1Hash` is already imported here [INFO] [stdout] 2 | use crate::hash::SHA1Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> libbit/src/io/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] 2 | use crate::hash::SHA1Hash; [INFO] [stdout] 3 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_transmute_copy` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_transmute_copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> libbit/src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> libbit/src/repo.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | self.with_async(async move |repo| match f(repo.clone()).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `diff_partial_cmp` to be a fn item that returns `bool`, but it returns `Option` [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:412:52 [INFO] [stdout] | [INFO] [stdout] 412 | debug_assert!(self.status.new.is_sorted_by(BitEntry::diff_partial_cmp)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: required by a bound in `core::slice::::is_sorted_by` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/slice/mod.rs:4099:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `diff_partial_cmp` to be a fn item that returns `bool`, but it returns `Option` [INFO] [stdout] --> libbit/src/diff/tree_diff.rs:413:56 [INFO] [stdout] | [INFO] [stdout] 413 | debug_assert!(self.status.deleted.is_sorted_by(BitEntry::diff_partial_cmp)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: required by a bound in `core::slice::::is_sorted_by` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/slice/mod.rs:4099:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libbit` (lib test) due to 4 previous errors; 50 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f923f40cb89d540b737809be2431127faa86e2174268415e942373a2db2c2410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f923f40cb89d540b737809be2431127faa86e2174268415e942373a2db2c2410", kill_on_drop: false }` [INFO] [stdout] f923f40cb89d540b737809be2431127faa86e2174268415e942373a2db2c2410