[INFO] fetching crate story-line-counter 1.0.0... [INFO] testing story-line-counter-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate story-line-counter 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate story-line-counter 1.0.0 [INFO] finished tweaking crates.io crate story-line-counter 1.0.0 [INFO] tweaked toml for crates.io crate story-line-counter 1.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate story-line-counter 1.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding clap v2.33.4 (available: v2.34.0) [INFO] [stderr] Adding git2 v0.9.2 (available: v0.20.2) [INFO] [stderr] Adding regex v1.2.1 (available: v1.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.9.2 [INFO] [stderr] Downloaded libgit2-sys v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 811f99c294c1020ccff4eb5b7e9e6fa2cba201b71d5205b67758aca278ae708c [INFO] running `Command { std: "docker" "start" "-a" "811f99c294c1020ccff4eb5b7e9e6fa2cba201b71d5205b67758aca278ae708c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "811f99c294c1020ccff4eb5b7e9e6fa2cba201b71d5205b67758aca278ae708c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811f99c294c1020ccff4eb5b7e9e6fa2cba201b71d5205b67758aca278ae708c", kill_on_drop: false }` [INFO] [stdout] 811f99c294c1020ccff4eb5b7e9e6fa2cba201b71d5205b67758aca278ae708c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e8724fef7b4484a084e55940590171747ba395ab902da438f241ac17243cea6 [INFO] running `Command { std: "docker" "start" "-a" "8e8724fef7b4484a084e55940590171747ba395ab902da438f241ac17243cea6", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.8.2 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [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_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling git2 v0.9.2 [INFO] [stderr] Compiling story-line-counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:53:71 [INFO] [stdout] | [INFO] [stdout] 53 | Category::Io => format!("An IO error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | Category::Syntax => format!("A syntax error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:74 [INFO] [stdout] | [INFO] [stdout] 55 | Category::Data => format!("A data error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | Category::Eof => format!("Unexpected EOF. {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | CliError::Git(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | CliError::IO(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | CliError::Input(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `branch` is never read [INFO] [stdout] --> src/repo/core.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RepoPosition<'repo> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | pub repository: &'repo Repository, [INFO] [stdout] 5 | pub branch: Branch<'repo>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.03s [INFO] running `Command { std: "docker" "inspect" "8e8724fef7b4484a084e55940590171747ba395ab902da438f241ac17243cea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8724fef7b4484a084e55940590171747ba395ab902da438f241ac17243cea6", kill_on_drop: false }` [INFO] [stdout] 8e8724fef7b4484a084e55940590171747ba395ab902da438f241ac17243cea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4c3402d8adcfa8f335ed7d1a0aadb6f2c7766899791dd8c8ccc2829adb9f57d [INFO] running `Command { std: "docker" "start" "-a" "a4c3402d8adcfa8f335ed7d1a0aadb6f2c7766899791dd8c8ccc2829adb9f57d", kill_on_drop: false }` [INFO] [stderr] Compiling story-line-counter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:53:71 [INFO] [stdout] | [INFO] [stdout] 53 | Category::Io => format!("An IO error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | Category::Syntax => format!("A syntax error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:55:74 [INFO] [stdout] | [INFO] [stdout] 55 | Category::Data => format!("A data error occurred: {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | Category::Eof => format!("Unexpected EOF. {}", error.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | CliError::Git(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | CliError::IO(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | CliError::Input(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `branch` is never read [INFO] [stdout] --> src/repo/core.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RepoPosition<'repo> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | pub repository: &'repo Repository, [INFO] [stdout] 5 | pub branch: Branch<'repo>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "a4c3402d8adcfa8f335ed7d1a0aadb6f2c7766899791dd8c8ccc2829adb9f57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c3402d8adcfa8f335ed7d1a0aadb6f2c7766899791dd8c8ccc2829adb9f57d", kill_on_drop: false }` [INFO] [stdout] a4c3402d8adcfa8f335ed7d1a0aadb6f2c7766899791dd8c8ccc2829adb9f57d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5b3892cdfe03211cd2db3417647045a0924839e834f375365732543c0fc3b3d [INFO] running `Command { std: "docker" "start" "-a" "c5b3892cdfe03211cd2db3417647045a0924839e834f375365732543c0fc3b3d", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:53:71 [INFO] [stderr] | [INFO] [stderr] 53 | Category::Io => format!("An IO error occurred: {}", error.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:54:78 [INFO] [stderr] | [INFO] [stderr] 54 | Category::Syntax => format!("A syntax error occurred: {}", error.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:55:74 [INFO] [stderr] | [INFO] [stderr] 55 | Category::Data => format!("A data error occurred: {}", error.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:56:66 [INFO] [stderr] | [INFO] [stderr] 56 | Category::Eof => format!("Unexpected EOF. {}", error.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:87:43 [INFO] [stderr] | [INFO] [stderr] 87 | CliError::Git(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:88:42 [INFO] [stderr] | [INFO] [stderr] 88 | CliError::IO(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:89:45 [INFO] [stderr] | [INFO] [stderr] 89 | CliError::Input(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: field `branch` is never read [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/repo/core.rs:5:9 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 3 | pub struct RepoPosition<'repo> { [INFO] [stdout] [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 4 | pub repository: &'repo Repository, [INFO] [stderr] 5 | pub branch: Branch<'repo>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo/mod.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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] 106 | fn get_commit_pair(repository: &Repository, oid_pair: OidPair) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `story-line-counter` (bin "story-line-counter" test) generated 9 warnings (run `cargo fix --bin "story-line-counter" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/story_line_counter-5ebc9ec4db288dc4) [INFO] running `Command { std: "docker" "inspect" "c5b3892cdfe03211cd2db3417647045a0924839e834f375365732543c0fc3b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b3892cdfe03211cd2db3417647045a0924839e834f375365732543c0fc3b3d", kill_on_drop: false }` [INFO] [stdout] c5b3892cdfe03211cd2db3417647045a0924839e834f375365732543c0fc3b3d