[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbrn%2Fgit-flow" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbrn/git-flow on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-5/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9762ee4d990eeebc9cd71cc9c5dcf825f5209be683c8a92b3f5e12e7f653e7d6 [INFO] running `Command { std: "docker" "start" "-a" "9762ee4d990eeebc9cd71cc9c5dcf825f5209be683c8a92b3f5e12e7f653e7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9762ee4d990eeebc9cd71cc9c5dcf825f5209be683c8a92b3f5e12e7f653e7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9762ee4d990eeebc9cd71cc9c5dcf825f5209be683c8a92b3f5e12e7f653e7d6", kill_on_drop: false }` [INFO] [stdout] 9762ee4d990eeebc9cd71cc9c5dcf825f5209be683c8a92b3f5e12e7f653e7d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47b8d97eca02b354c706b0f03f6ef0ddab7fa047964a113892eea9f1f105fc6 [INFO] running `Command { std: "docker" "start" "-a" "d47b8d97eca02b354c706b0f03f6ef0ddab7fa047964a113892eea9f1f105fc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling syn v1.0.40 [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 quote v1.0.7 [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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 20.05s [INFO] running `Command { std: "docker" "inspect" "d47b8d97eca02b354c706b0f03f6ef0ddab7fa047964a113892eea9f1f105fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47b8d97eca02b354c706b0f03f6ef0ddab7fa047964a113892eea9f1f105fc6", kill_on_drop: false }` [INFO] [stdout] d47b8d97eca02b354c706b0f03f6ef0ddab7fa047964a113892eea9f1f105fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e01cacdb8d31bfab78b0eae0cdc3b4e200991966e5e89552a6876cd56910fc [INFO] running `Command { std: "docker" "start" "-a" "65e01cacdb8d31bfab78b0eae0cdc3b4e200991966e5e89552a6876cd56910fc", 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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [stderr] Compiling git-flow v0.1.0 (/opt/rustwide/workdir) [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: 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: 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] [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: 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: variant is never constructed: `Feature` [INFO] [stdout] --> src/gf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Feature, [INFO] [stdout] | ^^^^^^^ [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] [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] [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] [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] [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] [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] [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] [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: 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 2.29s [INFO] running `Command { std: "docker" "inspect" "65e01cacdb8d31bfab78b0eae0cdc3b4e200991966e5e89552a6876cd56910fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e01cacdb8d31bfab78b0eae0cdc3b4e200991966e5e89552a6876cd56910fc", kill_on_drop: false }` [INFO] [stdout] 65e01cacdb8d31bfab78b0eae0cdc3b4e200991966e5e89552a6876cd56910fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d76703fc59a9caa0168a88e89698ecc55194dad0f5363d095889c392887745c4 [INFO] running `Command { std: "docker" "start" "-a" "d76703fc59a9caa0168a88e89698ecc55194dad0f5363d095889c392887745c4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] 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] 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] 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] 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] 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] 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] 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] 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] 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.93s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/git_flow-44b6cdf5bb40d6a2) [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: 0x56305366c610 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56305366c610 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56305366c610 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56305366c610 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56305368fbcc - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x563053669575 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x56305366ebab - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56305366ebab - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56305366ebab - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56305366e6bc - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56305366f274 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56305366ed27 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x56305366cb0c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56305366ecb9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x563053557a11 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56305355795d - core::panicking::panic::h344f23ad26057b48 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x563053559683 - git_flow::gitc::tests::test_init::h192624f500abc346 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:449:25 [INFO] [stdout] 17: 0x56305355a036 - git_flow::gitc::tests::test_flow::hd5c90ddfc598d65e [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:532:9 [INFO] [stdout] 18: 0x56305355a01a - git_flow::gitc::tests::test_flow::{{closure}}::habba05424f6b94b1 [INFO] [stdout] at /opt/rustwide/workdir/src/gitc.rs:531:5 [INFO] [stdout] 19: 0x56305355cb5e - core::ops::function::FnOnce::call_once::hf694d17e8ec16481 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x563053590083 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x563053590083 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x56305358eb38 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x56305358eb38 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x56305358eb38 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x56305358eb38 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x56305358eb38 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x56305358eb38 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x56305358eb38 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x56305355d2cd - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x56305355d2cd - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x563053561aa8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x563053561aa8 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x563053561aa8 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x563053561aa8 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x563053561aa8 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x563053561aa8 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x563053561aa8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5630536747b7 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x5630536747b7 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x5630536747b7 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 41: 0x7eff901ad609 - start_thread [INFO] [stdout] 42: 0x7eff8ff85293 - 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.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "d76703fc59a9caa0168a88e89698ecc55194dad0f5363d095889c392887745c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76703fc59a9caa0168a88e89698ecc55194dad0f5363d095889c392887745c4", kill_on_drop: false }` [INFO] [stdout] d76703fc59a9caa0168a88e89698ecc55194dad0f5363d095889c392887745c4