[INFO] cloning repository https://github.com/wbrn/git-flow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbrn/git-flow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbrn%2Fgit-flow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbrn%2Fgit-flow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41be74783670b44c3b3a57c133df624f6596e0f0 [INFO] testing wbrn/git-flow against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbrn%2Fgit-flow" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbrn/git-flow on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wbrn/git-flow [INFO] finished tweaking git repo https://github.com/wbrn/git-flow [INFO] tweaked toml for git repo https://github.com/wbrn/git-flow written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/wbrn/git-flow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] facf78c0e06901380a85392940a5f5becdd14efbcad7dbfa7287978dceb611df [INFO] running `Command { std: "docker" "start" "-a" "facf78c0e06901380a85392940a5f5becdd14efbcad7dbfa7287978dceb611df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "facf78c0e06901380a85392940a5f5becdd14efbcad7dbfa7287978dceb611df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facf78c0e06901380a85392940a5f5becdd14efbcad7dbfa7287978dceb611df", kill_on_drop: false }` [INFO] [stdout] facf78c0e06901380a85392940a5f5becdd14efbcad7dbfa7287978dceb611df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abfac592062501b6eb2e8b415760da795bd961b8970ee21cbd1f4b904329d3e4 [INFO] running `Command { std: "docker" "start" "-a" "abfac592062501b6eb2e8b415760da795bd961b8970ee21cbd1f4b904329d3e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rpassword v5.0.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling git-flow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Generic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoHead` [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | NoHead, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repo` [INFO] [stdout] --> src/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_repo(repo_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_branch_name` [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_branch_name(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_head` [INFO] [stdout] --> src/utils.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_input` [INFO] [stdout] --> src/utils.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_user_input(prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gitc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(p: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/gitc.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn init(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checkout` [INFO] [stdout] --> src/gitc.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn checkout(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `branch` [INFO] [stdout] --> src/gitc.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn branch(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gitc.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn config(&self, name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_config` [INFO] [stdout] --> src/gitc.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_config(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_workdir` [INFO] [stdout] --> src/gitc.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_workdir(&self) -> Result<&Path> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature_allow_undefined_name` [INFO] [stdout] --> src/gitc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn signature_allow_undefined_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/gitc.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> src/gitc.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn tag( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/gitc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal_merge` [INFO] [stdout] --> src/gitc.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn normal_merge( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fast_forward_merge` [INFO] [stdout] --> src/gitc.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fast_forward_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/gitc.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_branch` [INFO] [stdout] --> src/gitc.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn delete_branch(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/gitc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/gitc.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebase` [INFO] [stdout] --> src/gitc.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Feature` [INFO] [stdout] --> src/gf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Feature, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bugfix` [INFO] [stdout] --> src/gf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Bugfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hotfix` [INFO] [stdout] --> src/gf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Hotfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Release` [INFO] [stdout] --> src/gf.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Support` [INFO] [stdout] --> src/gf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Support, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Init` [INFO] [stdout] --> src/gf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/gf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finish` [INFO] [stdout] --> src/gf.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Finish, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GfWork` [INFO] [stdout] --> src/gf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GfWork { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gf.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(p: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_branch_prefix` [INFO] [stdout] --> src/gf.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_branch_prefix(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_branch_suffix` [INFO] [stdout] --> src/gf.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_branch_suffix(&mut self, bs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cmd` [INFO] [stdout] --> src/gf.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_cmd(&mut self, cmd: GfBranch) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_subcmd` [INFO] [stdout] --> src/gf.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_subcmd(&mut self, subcmd: GfCmds) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subconfig` [INFO] [stdout] --> src/gf.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn subconfig(&self, prompt: &str, name: &str, default: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gf.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn config(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cat_gfbranch` [INFO] [stdout] --> src/gf.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn cat_gfbranch(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work` [INFO] [stdout] --> src/gf.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn work(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cli_run` [INFO] [stdout] --> src/cli.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cli_run() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoHead` [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | NoHead, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_branch_name` [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_branch_name(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_head` [INFO] [stdout] --> src/utils.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/gitc.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/gitc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/gitc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/gitc.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebase` [INFO] [stdout] --> src/gitc.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.63s [INFO] running `Command { std: "docker" "inspect" "abfac592062501b6eb2e8b415760da795bd961b8970ee21cbd1f4b904329d3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abfac592062501b6eb2e8b415760da795bd961b8970ee21cbd1f4b904329d3e4", kill_on_drop: false }` [INFO] [stdout] abfac592062501b6eb2e8b415760da795bd961b8970ee21cbd1f4b904329d3e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7295ecd174ba896b9fa7dcf13b892084ad73e2edee81163b6d432318a5b4d64 [INFO] running `Command { std: "docker" "start" "-a" "f7295ecd174ba896b9fa7dcf13b892084ad73e2edee81163b6d432318a5b4d64", kill_on_drop: false }` [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Generic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoHead` [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | NoHead, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/error.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repo` [INFO] [stdout] --> src/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_repo(repo_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_branch_name` [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_branch_name(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_head` [INFO] [stdout] --> src/utils.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_input` [INFO] [stdout] --> src/utils.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_user_input(prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gitc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(p: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/gitc.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn init(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `checkout` [INFO] [stdout] --> src/gitc.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn checkout(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `branch` [INFO] [stdout] --> src/gitc.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn branch(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gitc.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn config(&self, name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_config` [INFO] [stdout] --> src/gitc.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_config(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_workdir` [INFO] [stdout] --> src/gitc.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_workdir(&self) -> Result<&Path> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature_allow_undefined_name` [INFO] [stdout] --> src/gitc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn signature_allow_undefined_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/gitc.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> src/gitc.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn tag( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/gitc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal_merge` [INFO] [stdout] --> src/gitc.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn normal_merge( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fast_forward_merge` [INFO] [stdout] --> src/gitc.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fast_forward_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/gitc.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_branch` [INFO] [stdout] --> src/gitc.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn delete_branch(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/gitc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/gitc.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebase` [INFO] [stdout] --> src/gitc.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Feature` [INFO] [stdout] --> src/gf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Feature, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bugfix` [INFO] [stdout] --> src/gf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Bugfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hotfix` [INFO] [stdout] --> src/gf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Hotfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Release` [INFO] [stdout] --> src/gf.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Support` [INFO] [stdout] --> src/gf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Support, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Init` [INFO] [stdout] --> src/gf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/gf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finish` [INFO] [stdout] --> src/gf.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Finish, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GfWork` [INFO] [stdout] --> src/gf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GfWork { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gf.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(p: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_branch_prefix` [INFO] [stdout] --> src/gf.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_branch_prefix(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git-flow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_branch_suffix` [INFO] [stdout] --> src/gf.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_branch_suffix(&mut self, bs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cmd` [INFO] [stdout] --> src/gf.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_cmd(&mut self, cmd: GfBranch) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_subcmd` [INFO] [stdout] --> src/gf.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_subcmd(&mut self, subcmd: GfCmds) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subconfig` [INFO] [stdout] --> src/gf.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn subconfig(&self, prompt: &str, name: &str, default: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gf.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn config(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cat_gfbranch` [INFO] [stdout] --> src/gf.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn cat_gfbranch(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work` [INFO] [stdout] --> src/gf.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn work(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cli_run` [INFO] [stdout] --> src/cli.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cli_run() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `is_repo` [INFO] [stdout] --> src/gitc.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | is_repo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `is_repo` [INFO] [stdout] --> src/gitc.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | is_repo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Generic` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Generic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_repo` [INFO] [stdout] --> src/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_repo(repo_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_head` [INFO] [stdout] --> src/utils.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_input` [INFO] [stdout] --> src/utils.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_user_input(prompt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gitc.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn config(&self, name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_config` [INFO] [stdout] --> src/gitc.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_config(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_workdir` [INFO] [stdout] --> src/gitc.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_workdir(&self) -> Result<&Path> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `signature_allow_undefined_name` [INFO] [stdout] --> src/gitc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn signature_allow_undefined_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/gitc.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tag` [INFO] [stdout] --> src/gitc.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn tag( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/gitc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normal_merge` [INFO] [stdout] --> src/gitc.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | fn normal_merge( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fast_forward_merge` [INFO] [stdout] --> src/gitc.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fast_forward_merge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge` [INFO] [stdout] --> src/gitc.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_branch` [INFO] [stdout] --> src/gitc.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn delete_branch(&self, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/gitc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/gitc.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebase` [INFO] [stdout] --> src/gitc.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Feature` [INFO] [stdout] --> src/gf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Feature, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bugfix` [INFO] [stdout] --> src/gf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Bugfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hotfix` [INFO] [stdout] --> src/gf.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Hotfix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Release` [INFO] [stdout] --> src/gf.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Support` [INFO] [stdout] --> src/gf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Support, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Init` [INFO] [stdout] --> src/gf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Start` [INFO] [stdout] --> src/gf.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Finish` [INFO] [stdout] --> src/gf.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Finish, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gf.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GfWork` [INFO] [stdout] --> src/gf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GfWork { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gf.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(p: &PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_branch_prefix` [INFO] [stdout] --> src/gf.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_branch_prefix(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_branch_suffix` [INFO] [stdout] --> src/gf.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_branch_suffix(&mut self, bs: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cmd` [INFO] [stdout] --> src/gf.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn set_cmd(&mut self, cmd: GfBranch) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_subcmd` [INFO] [stdout] --> src/gf.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_subcmd(&mut self, subcmd: GfCmds) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subconfig` [INFO] [stdout] --> src/gf.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn subconfig(&self, prompt: &str, name: &str, default: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config` [INFO] [stdout] --> src/gf.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn config(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cat_gfbranch` [INFO] [stdout] --> src/gf.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn cat_gfbranch(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work` [INFO] [stdout] --> src/gf.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn work(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cli_run` [INFO] [stdout] --> src/cli.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cli_run() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_commit` [INFO] [stdout] --> src/gitc.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | fn test_commit() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_merge` [INFO] [stdout] --> src/gitc.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn test_merge() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_config` [INFO] [stdout] --> src/gitc.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn test_config() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_fetch` [INFO] [stdout] --> src/gitc.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn test_fetch() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_pull` [INFO] [stdout] --> src/gitc.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | fn test_pull() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_push` [INFO] [stdout] --> src/gitc.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | fn test_push() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_rebase` [INFO] [stdout] --> src/gitc.rs:519:8 [INFO] [stdout] | [INFO] [stdout] 519 | fn test_rebase() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_head` [INFO] [stdout] --> src/utils.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/gitc.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch` [INFO] [stdout] --> src/gitc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/gitc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/gitc.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebase` [INFO] [stdout] --> src/gitc.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_commit` [INFO] [stdout] --> src/gitc.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | fn test_commit() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_merge` [INFO] [stdout] --> src/gitc.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn test_merge() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_config` [INFO] [stdout] --> src/gitc.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | fn test_config() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_fetch` [INFO] [stdout] --> src/gitc.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | fn test_fetch() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_pull` [INFO] [stdout] --> src/gitc.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | fn test_pull() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_push` [INFO] [stdout] --> src/gitc.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | fn test_push() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_rebase` [INFO] [stdout] --> src/gitc.rs:519:8 [INFO] [stdout] | [INFO] [stdout] 519 | fn test_rebase() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gitc.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | remove_dir_all(&"/tmp/abc"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gitc.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | remove_dir_all(&"/tmp/abc"); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gitc.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | remove_dir_all(&"/tmp/abc"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gitc.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | remove_dir_all(&"/tmp/abc"); [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: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_flow-922f1d86add2cb03) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/git_flow-0c0279647fd67e0b) [INFO] running `Command { std: "docker" "inspect" "f7295ecd174ba896b9fa7dcf13b892084ad73e2edee81163b6d432318a5b4d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7295ecd174ba896b9fa7dcf13b892084ad73e2edee81163b6d432318a5b4d64", kill_on_drop: false }` [INFO] [stdout] f7295ecd174ba896b9fa7dcf13b892084ad73e2edee81163b6d432318a5b4d64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4a3d366df564ae56b8f9f22382745988b1a313744b609824286ae17f6bb4c80 [INFO] running `Command { std: "docker" "start" "-a" "b4a3d366df564ae56b8f9f22382745988b1a313744b609824286ae17f6bb4c80", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Generic` [INFO] [stderr] --> src/error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Generic(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NoHead` [INFO] [stderr] --> src/error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | NoHead, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Result` [INFO] [stderr] --> src/error.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub type Result = std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_repo` [INFO] [stderr] --> src/utils.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn is_repo(repo_path: &str) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_branch_name` [INFO] [stderr] --> src/utils.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn get_branch_name(repo: &Repository) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_head` [INFO] [stderr] --> src/utils.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_user_input` [INFO] [stderr] --> src/utils.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn get_user_input(prompt: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/gitc.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(p: &PathBuf) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `init` [INFO] [stderr] --> src/gitc.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn init(&self) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `checkout` [INFO] [stderr] --> src/gitc.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn checkout(&self, branch: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `branch` [INFO] [stderr] --> src/gitc.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn branch(&self, branch: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `config` [INFO] [stderr] --> src/gitc.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn config(&self, name: &str, value: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_config` [INFO] [stderr] --> src/gitc.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn get_config(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_workdir` [INFO] [stderr] --> src/gitc.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn get_workdir(&self) -> Result<&Path> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `signature_allow_undefined_name` [INFO] [stderr] --> src/gitc.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | fn signature_allow_undefined_name( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `commit` [INFO] [stderr] --> src/gitc.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn commit(&self, msg: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tag` [INFO] [stderr] --> src/gitc.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn tag( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fetch` [INFO] [stderr] --> src/gitc.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn fetch( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `normal_merge` [INFO] [stderr] --> src/gitc.rs:235:8 [INFO] [stderr] | [INFO] [stderr] 235 | fn normal_merge( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fast_forward_merge` [INFO] [stderr] --> src/gitc.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | fn fast_forward_merge( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `merge` [INFO] [stderr] --> src/gitc.rs:293:12 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn merge( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_branch` [INFO] [stderr] --> src/gitc.rs:334:12 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn delete_branch(&self, branch: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pull` [INFO] [stderr] --> src/gitc.rs:340:12 [INFO] [stderr] | [INFO] [stderr] 340 | pub fn pull(&self, remote_name: &str, branch: &str) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push` [INFO] [stderr] --> src/gitc.rs:353:8 [INFO] [stderr] | [INFO] [stderr] 353 | fn push(&self, remote_name: &str, branch: &str, user: &str, pass: &str) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rebase` [INFO] [stderr] --> src/gitc.rs:371:8 [INFO] [stderr] | [INFO] [stderr] 371 | fn rebase(&self, branch_from: &str, branch_to: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Feature` [INFO] [stderr] --> src/gf.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Feature, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bugfix` [INFO] [stderr] --> src/gf.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Bugfix, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hotfix` [INFO] [stderr] --> src/gf.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Hotfix, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Release` [INFO] [stderr] --> src/gf.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Release, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Support` [INFO] [stderr] --> src/gf.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Support, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfBranch` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Init` [INFO] [stderr] --> src/gf.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Init, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Start` [INFO] [stderr] --> src/gf.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Start, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Finish` [INFO] [stderr] --> src/gf.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Finish, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GfCmds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gf.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Clone, Copy, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `GfWork` [INFO] [stderr] --> src/gf.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct GfWork { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/gf.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new(p: &PathBuf) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_branch_prefix` [INFO] [stderr] --> src/gf.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | fn get_branch_prefix(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_branch_suffix` [INFO] [stderr] --> src/gf.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn set_branch_suffix(&mut self, bs: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_cmd` [INFO] [stderr] --> src/gf.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn set_cmd(&mut self, cmd: GfBranch) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_subcmd` [INFO] [stderr] --> src/gf.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn set_subcmd(&mut self, subcmd: GfCmds) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `subconfig` [INFO] [stderr] --> src/gf.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn subconfig(&self, prompt: &str, name: &str, default: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `config` [INFO] [stderr] --> src/gf.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | fn config(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cat_gfbranch` [INFO] [stderr] --> src/gf.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 114 | fn cat_gfbranch(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `work` [INFO] [stderr] --> src/gf.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn work(&self) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cli_run` [INFO] [stderr] --> src/cli.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn cli_run() -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `is_repo` [INFO] [stderr] --> src/gitc.rs:412:13 [INFO] [stderr] | [INFO] [stderr] 412 | is_repo, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 416 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_commit` [INFO] [stderr] --> src/gitc.rs:460:8 [INFO] [stderr] | [INFO] [stderr] 460 | fn test_commit() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_merge` [INFO] [stderr] --> src/gitc.rs:486:8 [INFO] [stderr] | [INFO] [stderr] 486 | fn test_merge() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_config` [INFO] [stderr] --> src/gitc.rs:489:8 [INFO] [stderr] | [INFO] [stderr] 489 | fn test_config() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_fetch` [INFO] [stderr] --> src/gitc.rs:492:8 [INFO] [stderr] | [INFO] [stderr] 492 | fn test_fetch() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_pull` [INFO] [stderr] --> src/gitc.rs:495:8 [INFO] [stderr] | [INFO] [stderr] 495 | fn test_pull() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_push` [INFO] [stderr] --> src/gitc.rs:498:8 [INFO] [stderr] | [INFO] [stderr] 498 | fn test_push() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_rebase` [INFO] [stderr] --> src/gitc.rs:519:8 [INFO] [stderr] | [INFO] [stderr] 519 | fn test_rebase() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/gitc.rs:448:25 [INFO] [stderr] | [INFO] [stderr] 448 | remove_dir_all(&"/tmp/abc"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/gitc.rs:455:17 [INFO] [stderr] | [INFO] [stderr] 455 | remove_dir_all(&"/tmp/abc"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `git-flow` (lib) generated 44 warnings [INFO] [stderr] warning: `git-flow` (lib test) generated 47 warnings (37 duplicates) [INFO] [stderr] warning: function is never used: `get_head` [INFO] [stderr] --> src/utils.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_head(repo: &Repository) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `git-flow` (bin "git-flow" test) generated 16 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_flow-922f1d86add2cb03) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test gitc::tests::test_is_repo ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test gitc::tests::test_flow ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- gitc::tests::test_flow stdout ---- [INFO] [stdout] failed to resolve path '/tmp/abc': No such file or directory; class=Os (2); code=NotFound (-3), create a new one [INFO] [stdout] failed to init git error:config value 'user.name' was not found; class=Config (7); code=NotFound (-3) [INFO] [stdout] thread 'gitc::tests::test_flow' panicked at 'assertion failed: false', src/gitc.rs:449:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557fbc0be64d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557fbc0be64d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557fbc0be64d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x557fbc0be64d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x557fbc0e172c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x557fbc0baed1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x557fbc0c0395 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x557fbc0c0395 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x557fbc0c0395 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x557fbc0c0084 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x557fbc0c08e2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x557fbc0c0789 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x557fbc0beb04 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x557fbc0c04f9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x557fbbfa1a53 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x557fbbfa191d - core::panicking::panic::h19a70c01bbabd538 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x557fbbfa30d1 - git_flow::gitc::tests::test_init::h4428766d42ce4ae4 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:449:25 [INFO] [stdout] 17: 0x557fbbfa3a16 - git_flow::gitc::tests::test_flow::h20d50eb84f4c319c [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:532:9 [INFO] [stdout] 18: 0x557fbbfa39fa - git_flow::gitc::tests::test_flow::{{closure}}::hae9e8fb52f054611 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:531:5 [INFO] [stdout] 19: 0x557fbbfa654e - core::ops::function::FnOnce::call_once::h2fec7fede0c5c254 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557fbbfdbc53 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557fbbfdbc53 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x557fbbfdaa09 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x557fbbfdaa09 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x557fbbfdaa09 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x557fbbfdaa09 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x557fbbfdaa09 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x557fbbfdaa09 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x557fbbfdaa09 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x557fbbfa6bbe - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x557fbbfa6bbe - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x557fbbfac128 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x557fbbfac128 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x557fbbfac128 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x557fbbfac128 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x557fbbfac128 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x557fbbfac128 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x557fbbfac128 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557fbc0c58a3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x557fbc0c58a3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x557fbc0c58a3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f173eb11609 - start_thread [INFO] [stdout] 42: 0x7f173e8e7163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] gitc::tests::test_flow [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4a3d366df564ae56b8f9f22382745988b1a313744b609824286ae17f6bb4c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a3d366df564ae56b8f9f22382745988b1a313744b609824286ae17f6bb4c80", kill_on_drop: false }` [INFO] [stdout] b4a3d366df564ae56b8f9f22382745988b1a313744b609824286ae17f6bb4c80