[INFO] cloning repository https://github.com/Jontaylor529/wyag_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jontaylor529/wyag_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJontaylor529%2Fwyag_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJontaylor529%2Fwyag_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a2572aa0d829eef4e229fd74d42c678af79f7af [INFO] checking Jontaylor529/wyag_rust against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJontaylor529%2Fwyag_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jontaylor529/wyag_rust on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] finished tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] tweaked toml for git repo https://github.com/Jontaylor529/wyag_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jontaylor529/wyag_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Jontaylor529/wyag_rust against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJontaylor529%2Fwyag_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jontaylor529/wyag_rust on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] finished tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] tweaked toml for git repo https://github.com/Jontaylor529/wyag_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jontaylor529/wyag_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Jontaylor529/wyag_rust against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJontaylor529%2Fwyag_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jontaylor529/wyag_rust on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] finished tweaking git repo https://github.com/Jontaylor529/wyag_rust [INFO] tweaked toml for git repo https://github.com/Jontaylor529/wyag_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jontaylor529/wyag_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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 configparser v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58d63823c3b0d0bd64973e86cfe31cf621a28a1e8869f9e1f4138042b963398c [INFO] running `Command { std: "docker" "start" "-a" "58d63823c3b0d0bd64973e86cfe31cf621a28a1e8869f9e1f4138042b963398c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58d63823c3b0d0bd64973e86cfe31cf621a28a1e8869f9e1f4138042b963398c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d63823c3b0d0bd64973e86cfe31cf621a28a1e8869f9e1f4138042b963398c", kill_on_drop: false }` [INFO] [stdout] 58d63823c3b0d0bd64973e86cfe31cf621a28a1e8869f9e1f4138042b963398c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019ab3734b491da2142a28ae9dac2b1b5915ded5cdd9c56914d0d33bc7b95006 [INFO] running `Command { std: "docker" "start" "-a" "019ab3734b491da2142a28ae9dac2b1b5915ded5cdd9c56914d0d33bc7b95006", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking configparser v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking wyag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/80d5fe37e16a0befb4128414cb6a11d544788c0a/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/lib/sorted_dict.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, hash::Hash, ptr::null}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/lib/sorted_dict.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap,LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/lib/sorted_dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GitRepository` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_object.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | -------- the item `GitRepository` is already imported here [INFO] [stdout] 175 | use crate::lib::get_test_dir; [INFO] [stdout] 176 | use crate::lib::objects::git_repository::GitRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_object.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 177 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GitObject` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_object.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | -------- the item `GitObject` is already imported here [INFO] [stdout] ... [INFO] [stdout] 180 | use super::GitObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/80d5fe37e16a0befb4128414cb6a11d544788c0a/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ini` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_repository.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 177 | use super::*; [INFO] [stdout] | -------- the item `Ini` is already imported here [INFO] [stdout] 178 | use crate::lib::get_test_dir; [INFO] [stdout] 179 | use configparser::ini::Ini; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_repository.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 177 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 180 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/lib/objects/git_repository.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 177 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 180 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ObjectType` is imported redundantly [INFO] [stdout] --> src/lib/parsing/decoding.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `ObjectType` is already imported here [INFO] [stdout] 136 | use crate::lib::objects::git_object::ObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::null` [INFO] [stdout] --> src/lib/sorted_dict.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, hash::Hash, ptr::null}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/lib/sorted_dict.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap,LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/lib/sorted_dict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_str` [INFO] [stdout] --> src/lib/commands.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cat_file>(git_dir_path: P, type_str: &str, target: &str) -> Result<(), CommandError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/lib/commands.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hash_object(object_type: &str, file: &str, repo: &Rc, write:bool) -> Result<(), CommandError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follow` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_follow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_str` [INFO] [stdout] --> src/lib/commands.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cat_file>(git_dir_path: P, type_str: &str, target: &str) -> Result<(), CommandError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_type` [INFO] [stdout] --> src/lib/commands.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hash_object(object_type: &str, file: &str, repo: &Rc, write:bool) -> Result<(), CommandError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/lib/objects/git_object.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let res = GitObject::from_internal_file("05f01ab76171493c8ab7dc46d0abdbc94ed85372", &test_repo) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_test_dir` is never used [INFO] [stdout] --> src/lib/mod.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_test_dir(sub_dir: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deserialize`, `repo`, and `content` are never used [INFO] [stdout] --> src/lib/objects/git_object.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GitObject { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn deserialize(&mut self, data: Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn repo(&self) -> &Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn content(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repo_path` is never used [INFO] [stdout] --> src/lib/objects/git_repository.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn repo_path>(repo: &GitRepository, path: P) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repo_dir` is never used [INFO] [stdout] --> src/lib/objects/git_repository.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn repo_dir>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repo_file` is never used [INFO] [stdout] --> src/lib/objects/git_repository.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn repo_file>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `get` are never used [INFO] [stdout] --> src/lib/sorted_dict.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OrderedDictionary{ [INFO] [stdout] | ----------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn new() -> OrderedDictionary { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add(&mut self, key: K, value: V) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get(&self, key: &K) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `append` are never used [INFO] [stdout] --> src/lib/sorted_dict.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl NodeList { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 103 | [INFO] [stdout] 104 | fn new() -> NodeList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn insert(&mut self, val: K) -> WeakNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn append(node: StrongNode, val: K) -> WeakNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/commands.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | std::fs::create_dir_all(&git_dir).or(Err(CommandError::Init("Cannot create .git dirctory".to_owned()))); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = std::fs::create_dir_all(&git_dir).or(Err(CommandError::Init("Cannot create .git dirctory".to_owned()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/commands.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | config.write(git_dir.join("config").to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = config.write(git_dir.join("config").to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follow` [INFO] [stdout] --> src/lib/parsing/decoding.rs:30:86 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn find_object<'a>(repo: &GitRepository, name: &str, fmt: &GitNameFormat, follow: bool) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_follow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deserialize` and `repo` are never used [INFO] [stdout] --> src/lib/objects/git_object.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GitObject { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn deserialize(&mut self, data: Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn repo(&self) -> &Rc { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/lib/sorted_dict.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OrderedDictionary{ [INFO] [stdout] | ----------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get(&self, key: &K) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/commands.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | std::fs::create_dir_all(&git_dir).or(Err(CommandError::Init("Cannot create .git dirctory".to_owned()))); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = std::fs::create_dir_all(&git_dir).or(Err(CommandError::Init("Cannot create .git dirctory".to_owned()))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/commands.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | config.write(git_dir.join("config").to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = config.write(git_dir.join("config").to_str().unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/lib/sorted_dict.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | test_dict.add(k.clone(), v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "019ab3734b491da2142a28ae9dac2b1b5915ded5cdd9c56914d0d33bc7b95006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019ab3734b491da2142a28ae9dac2b1b5915ded5cdd9c56914d0d33bc7b95006", kill_on_drop: false }` [INFO] [stdout] 019ab3734b491da2142a28ae9dac2b1b5915ded5cdd9c56914d0d33bc7b95006