[INFO] fetching crate git_rs 0.1.0...
[INFO] documenting git_rs-0.1.0 against 1.69.0 for beta-1.70-rustdoc-1
[INFO] extracting crate git_rs 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate git_rs 0.1.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git_rs 0.1.0
[INFO] finished tweaking crates.io crate git_rs 0.1.0
[INFO] tweaked toml for crates.io crate git_rs 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lru v0.1.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b8f4728b18cf42a6c04c45f77afeff3306fd35532b4ee9cd494912b4f2ed6d6
[INFO] running `Command { std: "docker" "start" "-a" "2b8f4728b18cf42a6c04c45f77afeff3306fd35532b4ee9cd494912b4f2ed6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b8f4728b18cf42a6c04c45f77afeff3306fd35532b4ee9cd494912b4f2ed6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b8f4728b18cf42a6c04c45f77afeff3306fd35532b4ee9cd494912b4f2ed6d6", kill_on_drop: false }`
[INFO] [stdout] 2b8f4728b18cf42a6c04c45f77afeff3306fd35532b4ee9cd494912b4f2ed6d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f4558cc249d19e118aafa921235c9971bd5da449a15f01ecdc96bee4a375a88
[INFO] running `Command { std: "docker" "start" "-a" "3f4558cc249d19e118aafa921235c9971bd5da449a15f01ecdc96bee4a375a88", kill_on_drop: false }`
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking hashbrown v0.5.0
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking rust-crypto v0.2.36
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking object v0.30.3
[INFO] [stderr]     Checking flate2 v1.0.26
[INFO] [stderr]     Checking lru v0.1.17
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking backtrace v0.3.67
[INFO] [stderr]     Checking git_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting git_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         0...9 => (inp + 48) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         10...16 => (inp + 87) as char,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 48 ... 57 => xs - 48,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 97 ... 102 => xs - 97 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 65 ... 70 => xs - 65 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/stores/loose.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/objects/commit.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if (&magic != b"\xfftOc") {
[INFO] [stdout]     |        ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -     if (&magic != b"\xfftOc") {
[INFO] [stdout] 168 +     if &magic != b"\xfftOc" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |        ^                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) } {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/pack/read.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         0...4 => {
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         0...9 => (inp + 48) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         10...16 => (inp + 87) as char,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 48 ... 57 => xs - 48,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 97 ... 102 => xs - 97 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 65 ... 70 => xs - 65 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/stores/loose.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/objects/commit.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/pack/index.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{ Cursor, SeekFrom };
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if (&magic != b"\xfftOc") {
[INFO] [stdout]     |        ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -     if (&magic != b"\xfftOc") {
[INFO] [stdout] 168 +     if &magic != b"\xfftOc" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |        ^                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) } {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/pack/read.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         0...4 => {
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = dyn Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<Fn() -> Result<R>>,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<dyn Fn() -> Result<R>>,
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = dyn Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:58
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<dyn std::io::Read>)>>;
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]   --> src/stores/loose.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/stores/mod.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn get<W: Write, S: Queryable>(&self, id: &Id, _output: &mut W, _backends: &StorageSet<S>) -> Result<Option<Type>> {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> src/pack/any.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         end: u64,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `size` is assigned to, but never used
[INFO] [stdout]   --> src/pack/read.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut size = (byte[0] & 0xf) as u64;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_size` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stores/loose.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FindNull` is never constructed
[INFO] [stdout]   --> src/stores/loose.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         enum Mode {
[INFO] [stdout]    |              ---- variant in this enum
[INFO] [stdout] 50 |             FindSpace,
[INFO] [stdout] 51 |             FindNull
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `author` is never read
[INFO] [stdout]   --> src/objects/commit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Commit {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     author: Option<Identity>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Commit` 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 `next` is never read
[INFO] [stdout]   --> src/pack/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IndexEntry {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     next: usize
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexEntry` 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 `crcs` is never read
[INFO] [stdout]    --> src/pack/index.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub struct Index {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 237 |     crcs: Vec<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage_set` is never read
[INFO] [stdout]   --> src/pack/iter.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct PackfileIterator<'a, R: BufRead + Seek + std::fmt::Debug, S: Queryable> {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     storage_set: Option<&'a StorageSet<S>>
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/refs.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Ref {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 24 |     kind: Kind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ref` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `email`, and `offset` are never read
[INFO] [stdout]  --> src/identity.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Identity {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     name: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     email: Vec<u8>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     at: DateTime<Utc>,
[INFO] [stdout] 8 |     offset: FixedOffset
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         reader.read_until(0x20, &mut type_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         reader.read_until(0, &mut size_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.70s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3f4558cc249d19e118aafa921235c9971bd5da449a15f01ecdc96bee4a375a88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f4558cc249d19e118aafa921235c9971bd5da449a15f01ecdc96bee4a375a88", kill_on_drop: false }`
[INFO] [stdout] 3f4558cc249d19e118aafa921235c9971bd5da449a15f01ecdc96bee4a375a88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63b03df6bf8c8ea8c2120acd365bbd75cc04a9ddeb85721dc41b8062bd30263a
[INFO] running `Command { std: "docker" "start" "-a" "63b03df6bf8c8ea8c2120acd365bbd75cc04a9ddeb85721dc41b8062bd30263a", kill_on_drop: false }`
[INFO] [stderr]  Documenting git_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         0...9 => (inp + 48) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         10...16 => (inp + 87) as char,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 48 ... 57 => xs - 48,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 97 ... 102 => xs - 97 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 65 ... 70 => xs - 65 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/stores/loose.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/objects/commit.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if (&magic != b"\xfftOc") {
[INFO] [stdout]     |        ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -     if (&magic != b"\xfftOc") {
[INFO] [stdout] 168 +     if &magic != b"\xfftOc" {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |        ^                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) } {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/pack/read.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         0...4 => {
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.99s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "63b03df6bf8c8ea8c2120acd365bbd75cc04a9ddeb85721dc41b8062bd30263a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63b03df6bf8c8ea8c2120acd365bbd75cc04a9ddeb85721dc41b8062bd30263a", kill_on_drop: false }`
[INFO] [stdout] 63b03df6bf8c8ea8c2120acd365bbd75cc04a9ddeb85721dc41b8062bd30263a
