[INFO] fetching crate rs-git-lib 0.2.1... [INFO] testing rs-git-lib-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rs-git-lib 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rs-git-lib 0.2.1 [INFO] finished tweaking crates.io crate rs-git-lib 0.2.1 [INFO] tweaked toml for crates.io crate rs-git-lib 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-git-lib 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 181 packages to latest compatible versions [INFO] [stderr] Adding crc v1.8.1 (available: v3.3.0) [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded percent-encoding v2.3.2 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded form_urlencoded v1.2.2 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded tempfile v3.23.0 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded windows-result v0.4.0 [INFO] [stderr] Downloaded windows-implement v0.60.1 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded rustix v1.1.2 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded bytes v0.5.6 [INFO] [stderr] Downloaded cc v1.2.39 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded iovec v0.1.4 [INFO] [stderr] Downloaded ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded chrono v0.4.42 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded windows-interface v0.59.2 [INFO] [stderr] Downloaded windows-core v0.62.1 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded tracing-futures v0.2.5 [INFO] [stderr] Downloaded http-body v0.3.1 [INFO] [stderr] Downloaded linux-raw-sys v0.11.0 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded encoding_rs v0.8.35 [INFO] [stderr] Downloaded windows-strings v0.5.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.64 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded errno v0.3.14 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 365e21b9e68c1c7cdaf14031601eeeab55588abe71d687c0eb1ca60a7ddd009c [INFO] running `Command { std: "docker" "start" "-a" "365e21b9e68c1c7cdaf14031601eeeab55588abe71d687c0eb1ca60a7ddd009c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "365e21b9e68c1c7cdaf14031601eeeab55588abe71d687c0eb1ca60a7ddd009c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365e21b9e68c1c7cdaf14031601eeeab55588abe71d687c0eb1ca60a7ddd009c", kill_on_drop: false }` [INFO] [stdout] 365e21b9e68c1c7cdaf14031601eeeab55588abe71d687c0eb1ca60a7ddd009c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67c08235e36692babb6246745b150500a1ccf831db4ce7ec2436671fd78b2a9a [INFO] running `Command { std: "docker" "start" "-a" "67c08235e36692babb6246745b150500a1ccf831db4ce7ec2436671fd78b2a9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling rs-git-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/store/commit.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let naive = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/store/commit.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let offset = FixedOffset::east(sgn * tz/100 * 3600); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/store/commit.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | let timestamp = DateTime::from_utc(naive, offset); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `get_offset` is never read [INFO] [stdout] --> src/delta/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct DeltaHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | get_offset: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeltaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/packfile/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PackFile { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub index: PackIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `email`, and `timestamp` are never read [INFO] [stdout] --> src/store/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | email: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/store/commit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Commit<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | raw: &'a GitObject, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `protocol` is never used [INFO] [stdout] --> src/transport/client/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Protocol { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn protocol(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/file_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileProtocol { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/git_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/local_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LocalProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/ssh_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SshProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person, [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person, Person, &str), [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is hidden here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person<'_>, Person<'_>, &str), [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/store/object.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GitObjectType` [INFO] [stdout] 15 | pub enum GitObjectType { [INFO] [stdout] | ------------- `GitObjectType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/object.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.32s [INFO] running `Command { std: "docker" "inspect" "67c08235e36692babb6246745b150500a1ccf831db4ce7ec2436671fd78b2a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c08235e36692babb6246745b150500a1ccf831db4ce7ec2436671fd78b2a9a", kill_on_drop: false }` [INFO] [stdout] 67c08235e36692babb6246745b150500a1ccf831db4ce7ec2436671fd78b2a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d3ba14f3720adc02a48aee56a220ed71442cad4420160ce1ed07cfd0887164e [INFO] running `Command { std: "docker" "start" "-a" "3d3ba14f3720adc02a48aee56a220ed71442cad4420160ce1ed07cfd0887164e", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/store/commit.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let naive = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/store/commit.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let offset = FixedOffset::east(sgn * tz/100 * 3600); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/store/commit.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | let timestamp = DateTime::from_utc(naive, offset); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `get_offset` is never read [INFO] [stdout] --> src/delta/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct DeltaHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | get_offset: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeltaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/packfile/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PackFile { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub index: PackIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `email`, and `timestamp` are never read [INFO] [stdout] --> src/store/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | email: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/store/commit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Commit<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | raw: &'a GitObject, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `protocol` is never used [INFO] [stdout] --> src/transport/client/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Protocol { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn protocol(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/file_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileProtocol { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/git_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/local_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LocalProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/ssh_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SshProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person, [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person, Person, &str), [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is hidden here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person<'_>, Person<'_>, &str), [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/store/object.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GitObjectType` [INFO] [stdout] 15 | pub enum GitObjectType { [INFO] [stdout] | ------------- `GitObjectType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/object.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs-git-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/store/commit.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let naive = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/store/commit.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let offset = FixedOffset::east(sgn * tz/100 * 3600); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/store/commit.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | let timestamp = DateTime::from_utc(naive, offset); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `get_offset` is never read [INFO] [stdout] --> src/delta/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct DeltaHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | get_offset: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeltaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/store/commit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Person<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/store/commit.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Commit<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | raw: &'a GitObject, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `protocol` is never used [INFO] [stdout] --> src/transport/client/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Protocol { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn protocol(&self) -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/file_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileProtocol { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/git_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GitProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/transport/client/local_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LocalProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 9 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/transport/client/ssh_client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SshProtocol { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SshProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_author(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_committer(&self) -> Person<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person, [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | named!(parse_person(&[u8]) -> Person<'_>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/commit.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person, Person, &str), [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is hidden here [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person<'_>, Person<'_>, &str), [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/store/object.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GitObjectType` [INFO] [stdout] 15 | pub enum GitObjectType { [INFO] [stdout] | ------------- `GitObjectType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/object.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn as_commit(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/transport/url_parser.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 225 | panic!("failed ssh parse {:?}"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 225 | panic!("failed ssh parse {:?}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 225 | panic!("{}", "failed ssh parse {:?}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "3d3ba14f3720adc02a48aee56a220ed71442cad4420160ce1ed07cfd0887164e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3ba14f3720adc02a48aee56a220ed71442cad4420160ce1ed07cfd0887164e", kill_on_drop: false }` [INFO] [stdout] 3d3ba14f3720adc02a48aee56a220ed71442cad4420160ce1ed07cfd0887164e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9576428d9054d7f3007f3a363666379b702ec3c779654e52119e63d663ec3959 [INFO] running `Command { std: "docker" "start" "-a" "9576428d9054d7f3007f3a363666379b702ec3c779654e52119e63d663ec3959", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/store/commit.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | let naive = NaiveDateTime::from_timestamp(ts as i64, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stderr] --> src/store/commit.rs:99:39 [INFO] [stderr] | [INFO] [stderr] 99 | let offset = FixedOffset::east(sgn * tz/100 * 3600); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/store/commit.rs:100:39 [INFO] [stderr] | [INFO] [stderr] 100 | let timestamp = DateTime::from_utc(naive, offset); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `get_offset` is never read [INFO] [stderr] --> src/delta/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 10 | struct DeltaHeader { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | get_offset: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeltaHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> src/packfile/mod.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct PackFile { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub index: PackIndex, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `email`, and `timestamp` are never read [INFO] [stderr] --> src/store/commit.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Person<'a> { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 11 | name: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | email: &'a str, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | timestamp: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `raw` is never read [INFO] [stderr] --> src/store/commit.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Commit<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | raw: &'a GitObject, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Commit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `protocol` is never used [INFO] [stderr] --> src/transport/client/mod.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait Protocol { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 15 | fn protocol(&self) -> &'static str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/transport/client/file_client.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct FileProtocol { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 9 | path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `url` is never read [INFO] [stderr] --> src/transport/client/git_client.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct GitProtocol { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 10 | url: Url, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GitProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/transport/client/local_client.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct LocalProtocol { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 9 | path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LocalProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `url` is never read [INFO] [stderr] --> src/transport/client/ssh_client.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct SshProtocol { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 10 | url: Url, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SshProtocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store/commit.rs:53:23 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_author(&self) -> Person { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_author(&self) -> Person<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store/commit.rs:58:26 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_committer(&self) -> Person { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_committer(&self) -> Person<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store/commit.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | named!(parse_person(&[u8]) -> Person, [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 81 | named!(parse_person(&[u8]) -> Person<'_>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store/commit.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person, Person, &str), [INFO] [stderr] | ^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | the same lifetime is hidden here [INFO] [stderr] | | | | the same lifetime is hidden here [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | named!(parse_commit_inner(&[u8]) -> (&str, Vec<&str>, Person<'_>, Person<'_>, &str), [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/store/object.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_GitObjectType` [INFO] [stderr] 15 | pub enum GitObjectType { [INFO] [stderr] | ------------- `GitObjectType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/store/object.rs:157:22 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn as_commit(&self) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 157 | pub fn as_commit(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/store/commit.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Person<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | timestamp: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/transport/url_parser.rs:225:38 [INFO] [stderr] | [INFO] [stderr] 225 | panic!("failed ssh parse {:?}"); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 225 | panic!("failed ssh parse {:?}", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 225 | panic!("{}", "failed ssh parse {:?}"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `rs-git-lib` (lib) generated 18 warnings (run `cargo fix --lib -p rs-git-lib` to apply 5 suggestions) [INFO] [stderr] warning: `rs-git-lib` (lib test) generated 18 warnings (16 duplicates) (run `cargo fix --lib -p rs-git-lib --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_git_lib-5a8c53437402adc7) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test packfile::index::tests::reading_an_index ... ok [INFO] [stdout] test packfile::index::tests::read_and_write_should_be_inverses ... ok [INFO] [stdout] test transport::url_parser::tests::test_file ... ok [INFO] [stdout] test packfile::index::tests::finding_an_offset ... ok [INFO] [stdout] test store::commit::tests::test_commit_parsing ... ok [INFO] [stdout] test store::commit::tests::test_person_parsing ... ok [INFO] [stdout] test transport::url_parser::tests::test_http ... ok [INFO] [stdout] test transport::url_parser::tests::test_git ... ok [INFO] [stdout] test packfile::tests::read_and_encode_should_be_inverses ... ok [INFO] [stdout] test packfile::index::tests::creating_an_index ... ok [INFO] [stdout] test transport::url_parser::tests::test_local ... ok [INFO] [stdout] test packfile::tests::reading_a_packed_object_by_sha ... ok [INFO] [stdout] test transport::url_parser::tests::test_parse ... ok [INFO] [stdout] test transport::url_parser::tests::test_ssh ... ok [INFO] [stdout] test packfile::tests::reading_a_packfile ... ok [INFO] [stdout] test packfile::tests::reading_delta_objects_should_resolve_them_correctly ... ok [INFO] [stderr] Doc-tests rs_git_lib [INFO] [stdout] test store::tree::test_parse_tree ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Repo::refs (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - Repo::clone_from (line 51) ... ok [INFO] [stdout] test src/lib.rs - Repo::commits (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - Repo::count_objects (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - Repo::dir (line 93) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Repo::refs (line 79) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (180) panicked at src/lib.rs:7:17: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/lnds/rs-git-lib.git/info/refs", query: Some("service=git-upload-pack"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x607f6674a442 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x607f6674a442 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x607f6674a442 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x607f6674a442 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x607f6675c58f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x607f6675c58f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x607f667235b1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x607f667235b1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x607f6672adc2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x607f6672da3f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x607f6672d899 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x607f6672e175 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x607f6672df5a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x607f6672aef9 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x607f6671787d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x607f667652e0 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x607f667647b6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x607f6629f86a - rust_out::main::_doctest_main_src_lib_rs_79_0::h7fb0eebdb7585852 [INFO] [stdout] 18: 0x607f6629f796 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x607f6629f373 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x607f6629f356 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x607f6629f339 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x607f66724f50 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x607f66724f50 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x607f66724f50 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x607f66724f50 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x607f66724f50 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x607f66724f50 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x607f66724f50 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x607f66724f50 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x607f66724f50 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x607f6629f321 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x607f6629fa55 - main [INFO] [stdout] 33: 0x7a6b58c8e1ca - [INFO] [stdout] 34: 0x7a6b58c8e28b - __libc_start_main [INFO] [stdout] 35: 0x607f6629f235 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Repo::commits (line 119) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (182) panicked at src/lib.rs:6:104: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/lnds/redondeo.git/info/refs", query: Some("service=git-upload-pack"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5910bb4e18d2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5910bb4e18d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5910bb4e18d2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5910bb4e18d2 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5910bb4f3a1f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5910bb4f3a1f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5910bb4baa41 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5910bb4baa41 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5910bb4c2252 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5910bb4c4ecf - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5910bb4c4d29 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5910bb4c5605 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5910bb4c53ea - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5910bb4c2389 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5910bb4aed0d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5910bb4fc770 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5910bb4fbc46 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x5910bb035ca3 - rust_out::main::_doctest_main_src_lib_rs_119_0::h9715046d0e8520fb [INFO] [stdout] 18: 0x5910bb035bc6 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x5910bb035843 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x5910bb035826 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x5910bb035809 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x5910bb4bc3e0 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5910bb4bc3e0 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5910bb4bc3e0 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5910bb4bc3e0 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5910bb4bc3e0 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5910bb4bc3e0 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5910bb4bc3e0 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5910bb4bc3e0 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5910bb4bc3e0 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5910bb0357f1 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x5910bb0361d5 - main [INFO] [stdout] 33: 0x731f5b4ac1ca - [INFO] [stdout] 34: 0x731f5b4ac28b - __libc_start_main [INFO] [stdout] 35: 0x5910bb035705 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Repo::count_objects (line 105) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (186) panicked at src/lib.rs:6:104: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/lnds/rs-git-lib.git/info/refs", query: Some("service=git-upload-pack"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x645f6482dcb2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x645f6482dcb2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x645f6482dcb2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x645f6482dcb2 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x645f6483fdff - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x645f6483fdff - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x645f64806e21 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x645f64806e21 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x645f6480e632 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x645f648112af - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x645f64811109 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x645f648119e5 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x645f648117ca - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x645f6480e769 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x645f647fb0ed - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x645f64848b50 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x645f64848026 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x645f643831b2 - rust_out::main::_doctest_main_src_lib_rs_105_0::hc2f949cc1f4723b0 [INFO] [stdout] 18: 0x645f643830c6 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x645f64383063 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x645f64383046 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x645f64383029 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x645f648087c0 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x645f648087c0 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x645f648087c0 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x645f648087c0 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x645f648087c0 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x645f648087c0 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x645f648087c0 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x645f648087c0 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x645f648087c0 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x645f64383011 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x645f643833e5 - main [INFO] [stdout] 33: 0x702a190011ca - [INFO] [stdout] 34: 0x702a1900128b - __libc_start_main [INFO] [stdout] 35: 0x645f64382f25 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Repo::dir (line 93) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (188) panicked at src/lib.rs:6:104: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/lnds/rs-git-lib.git/info/refs", query: Some("service=git-upload-pack"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5cd225724252 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5cd225724252 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5cd225724252 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5cd225724252 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5cd22573639f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5cd22573639f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5cd2256fd3c1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5cd2256fd3c1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5cd225704bd2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5cd22570784f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5cd2257076a9 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5cd225707f85 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5cd225707d6a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5cd225704d09 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5cd2256f168d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5cd22573f0f0 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5cd22573e5c6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x5cd225279703 - rust_out::main::_doctest_main_src_lib_rs_93_0::h874a90de0fa458cd [INFO] [stdout] 18: 0x5cd225279626 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x5cd2252792b3 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x5cd225279296 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x5cd225279279 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x5cd2256fed60 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5cd2256fed60 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5cd2256fed60 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5cd2256fed60 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5cd2256fed60 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5cd2256fed60 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5cd2256fed60 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5cd2256fed60 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5cd2256fed60 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5cd225279261 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x5cd225279855 - main [INFO] [stdout] 33: 0x7b33c95e71ca - [INFO] [stdout] 34: 0x7b33c95e728b - __libc_start_main [INFO] [stdout] 35: 0x5cd225279175 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Repo::commits (line 119) [INFO] [stdout] src/lib.rs - Repo::count_objects (line 105) [INFO] [stdout] src/lib.rs - Repo::dir (line 93) [INFO] [stdout] src/lib.rs - Repo::refs (line 79) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9576428d9054d7f3007f3a363666379b702ec3c779654e52119e63d663ec3959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9576428d9054d7f3007f3a363666379b702ec3c779654e52119e63d663ec3959", kill_on_drop: false }` [INFO] [stdout] 9576428d9054d7f3007f3a363666379b702ec3c779654e52119e63d663ec3959