[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbrn%2Fgit-flow" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbrn/git-flow on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-16/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rpassword v5.0.0 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded libssh2-sys v0.2.19 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01932552ac57212a4b991057477fcb8aa50189550d0c212cb840e168558dd2d2 [INFO] running `Command { std: "docker" "start" "-a" "01932552ac57212a4b991057477fcb8aa50189550d0c212cb840e168558dd2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01932552ac57212a4b991057477fcb8aa50189550d0c212cb840e168558dd2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01932552ac57212a4b991057477fcb8aa50189550d0c212cb840e168558dd2d2", kill_on_drop: false }` [INFO] [stdout] 01932552ac57212a4b991057477fcb8aa50189550d0c212cb840e168558dd2d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a539d18d596f25b68fcd5fdbee8a9159dadd574f157e76cc0d61ea7f28477dc [INFO] running `Command { std: "docker" "start" "-a" "0a539d18d596f25b68fcd5fdbee8a9159dadd574f157e76cc0d61ea7f28477dc", 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] Compiling libc v0.2.76 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rpassword v5.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [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 9.96s [INFO] running `Command { std: "docker" "inspect" "0a539d18d596f25b68fcd5fdbee8a9159dadd574f157e76cc0d61ea7f28477dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a539d18d596f25b68fcd5fdbee8a9159dadd574f157e76cc0d61ea7f28477dc", kill_on_drop: false }` [INFO] [stdout] 0a539d18d596f25b68fcd5fdbee8a9159dadd574f157e76cc0d61ea7f28477dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 877816b7ce252c844b1b3342a63c1d27ded680958e2c92067c02af34b4d0e48e [INFO] running `Command { std: "docker" "start" "-a" "877816b7ce252c844b1b3342a63c1d27ded680958e2c92067c02af34b4d0e48e", 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] [stderr] Compiling git-flow v0.1.0 (/opt/rustwide/workdir) [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: 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "877816b7ce252c844b1b3342a63c1d27ded680958e2c92067c02af34b4d0e48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877816b7ce252c844b1b3342a63c1d27ded680958e2c92067c02af34b4d0e48e", kill_on_drop: false }` [INFO] [stdout] 877816b7ce252c844b1b3342a63c1d27ded680958e2c92067c02af34b4d0e48e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3c2c813659b57406dfb006f86f2366785e0a37866d6db3c9d0011056393ed16 [INFO] running `Command { std: "docker" "start" "-a" "f3c2c813659b57406dfb006f86f2366785e0a37866d6db3c9d0011056393ed16", 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.08s [INFO] [stderr] Running unittests (/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] [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: 0x5580497ee39c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5580497ee39c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5580497ee39c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5580497ee39c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5580498141ac - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5580497e9af8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5580497f0667 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5580497f0667 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5580497f0667 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5580497f039b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5580497f0dba - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5580497f0a69 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x5580497ee864 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5580497f07b9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5580496d57a3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5580496d566d - core::panicking::panic::h33838847634b5d2d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x5580496d7360 - git_flow::gitc::tests::test_init::heb8f2843a74758b0 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:449:25 [INFO] [stdout] 17: 0x5580496d7c56 - git_flow::gitc::tests::test_flow::h2940e7a78618ef35 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:532:9 [INFO] [stdout] 18: 0x5580496d7c3a - git_flow::gitc::tests::test_flow::{{closure}}::h4cec051d596ea8a7 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:531:5 [INFO] [stdout] 19: 0x5580496da6ee - core::ops::function::FnOnce::call_once::h2aaf0b8663f7c4e7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x558049706153 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558049706153 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x558049704e81 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x558049704e81 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x558049704e81 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x558049704e81 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x558049704e81 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x558049704e81 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x558049704e81 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55804970e761 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55804970e761 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5580496daebf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5580496daebf - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5580496daebf - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5580496daebf - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5580496daebf - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5580496daebf - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5580496daebf - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5580497f74e3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x5580497f74e3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x5580497f74e3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f3fe0684609 - start_thread [INFO] [stdout] 42: 0x7f3fe045c293 - 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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "f3c2c813659b57406dfb006f86f2366785e0a37866d6db3c9d0011056393ed16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c2c813659b57406dfb006f86f2366785e0a37866d6db3c9d0011056393ed16", kill_on_drop: false }` [INFO] [stdout] f3c2c813659b57406dfb006f86f2366785e0a37866d6db3c9d0011056393ed16