[INFO] fetching crate gitpad 0.1.1...
[INFO] checking gitpad-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate gitpad 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate gitpad 0.1.1
[INFO] finished tweaking crates.io crate gitpad 0.1.1
[INFO] tweaked toml for crates.io crate gitpad 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gitpad 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate gitpad 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d12c0cd32797817e5e683729ed38bcb86fcf2a5e8200ac0dae5745e4aa7f1d3e
[INFO] running `Command { std: "docker" "start" "-a" "d12c0cd32797817e5e683729ed38bcb86fcf2a5e8200ac0dae5745e4aa7f1d3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d12c0cd32797817e5e683729ed38bcb86fcf2a5e8200ac0dae5745e4aa7f1d3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d12c0cd32797817e5e683729ed38bcb86fcf2a5e8200ac0dae5745e4aa7f1d3e", kill_on_drop: false }`
[INFO] [stdout] d12c0cd32797817e5e683729ed38bcb86fcf2a5e8200ac0dae5745e4aa7f1d3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e65c57235c8eb9ee6dc370dc809791cc485977e7bea177f649e8827bb532687d
[INFO] running `Command { std: "docker" "start" "-a" "e65c57235c8eb9ee6dc370dc809791cc485977e7bea177f649e8827bb532687d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tokio v1.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking http v0.2.4
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]     Checking tinyvec v1.2.0
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking tracing-core v0.1.18
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking unicode-bidi v0.3.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking httpdate v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling multer v2.0.0
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]    Compiling libssh2-sys v0.2.21
[INFO] [stderr]    Compiling libgit2-sys v0.12.21+1.1.0
[INFO] [stderr]     Checking unchecked-index v0.2.2
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]     Checking twoway v0.2.2
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking http-body v0.4.2
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking spin v0.9.1
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling derive_more v0.99.14
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking thiserror v1.0.25
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking hyper v0.14.9
[INFO] [stderr]     Checking hyperlocal v0.8.0
[INFO] [stderr]     Checking git2 v0.13.20
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking sputnik v0.4.1
[INFO] [stderr]     Checking gitpad v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `parts`
[INFO] [stdout]   --> src/controller.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn user_info_html(&self, parts: &Parts) -> Option<String> {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/controller.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn access_info_html(&self, ctx: &Context) -> Option<String> {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn edit_hint_html(&self, context: &Context) -> Option<String> {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]   --> src/controller.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]   --> src/controller.rs:51:56
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:51:76
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/controller.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn after_write(&self, context: &mut Context) {}
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/controller.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn before_return_error(&self, error: &Error) -> Option<Response> {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parts`
[INFO] [stdout]   --> src/controller.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:196:28
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 for (path, mode) in exact_shares {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:202:28
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 for (path, mode) in prefix_shares {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/controller.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |     for i in 1..len - 1 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:335:25
[INFO] [stdout]     |
[INFO] [stdout] 335 |             if let Some(mode) = shares.find_mode(ctx.path.to_str().unwrap(), username) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/shares.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct AccessRule {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 38 |     pub mode: AccessMode,
[INFO] [stdout] 39 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | /     /// Enforce the given HTTP Origin header value to prevent CSRF attacks.
[INFO] [stdout] 67 | |     #[clap(long, validator = validate_origin)]
[INFO] [stdout] 68 | |     origin: Option<String>,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | /     /// Serve via the given Unix domain socket path.
[INFO] [stdout] 71 | |     #[cfg(unix)]
[INFO] [stdout] 72 | |     #[clap(long)]
[INFO] [stdout] 73 | |     socket: Option<String>,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:211:35
[INFO] [stdout]     |
[INFO] [stdout] 211 |   ) -> Result<Response, Infallible> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 212 | |     let (parts, body) = request.into_parts();
[INFO] [stdout] 213 | |
[INFO] [stdout] 214 | |     let mut resp = build_response(args, &*controller, parts, body)
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     Ok(resp)
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:211:35
[INFO] [stdout]     |
[INFO] [stdout] 211 |   ) -> Result<Response, Infallible> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 212 | |     let (parts, body) = request.into_parts();
[INFO] [stdout] 213 | |
[INFO] [stdout] 214 | |     let mut resp = build_response(args, &*controller, parts, body)
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     Ok(resp)
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 |     Ok(resp)
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:548:20
[INFO] [stdout]     |
[INFO] [stdout] 548 |     fn branch_head(&self) -> Result<Commit, Error> {
[INFO] [stdout]     |                    ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 548 |     fn branch_head(&self) -> Result<Commit<'_>, Error> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/controller.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error>;
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/controller.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/controller.rs:313:18
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn signature(&self, _repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]     |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn signature(&self, _repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error> {
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shares.rs:14:55
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rules_iter<'a>(&'a self, path: &'a str) -> RulesIter {
[INFO] [stdout]    |                            --              --         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |               |
[INFO] [stdout]    |                            |               the lifetime is named here
[INFO] [stdout]    |                            the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rules_iter<'a>(&'a self, path: &'a str) -> RulesIter<'a> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shares.rs:22:77
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn find_mode<'a>(&'a self, path: &'a str, username: &str) -> Option<&AccessMode> {
[INFO] [stdout]    |                           --              -- the lifetime is named here     ^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn find_mode<'a>(&'a self, path: &'a str, username: &str) -> Option<&'a AccessMode> {
[INFO] [stdout]    |                                                                              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parts`
[INFO] [stdout]   --> src/controller.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn user_info_html(&self, parts: &Parts) -> Option<String> {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/controller.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn access_info_html(&self, ctx: &Context) -> Option<String> {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:47:30
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn edit_hint_html(&self, context: &Context) -> Option<String> {
[INFO] [stdout]    |                              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]   --> src/controller.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]   --> src/controller.rs:51:56
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:51:76
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn before_return_tree_page(&self, page: &mut Page, tree: Option<Tree>, context: &Context) {}
[INFO] [stdout]    |                                                                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gitpad` (bin "gitpad") due to 5 previous errors; 22 warnings emitted
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/controller.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/controller.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn after_write(&self, context: &mut Context) {}
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/controller.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn before_return_error(&self, error: &Error) -> Option<Response> {
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parts`
[INFO] [stdout]   --> src/controller.rs:84:44
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:196:28
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 for (path, mode) in exact_shares {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:202:28
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 for (path, mode) in prefix_shares {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/controller.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 |     for i in 1..len - 1 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/controller.rs:335:25
[INFO] [stdout]     |
[INFO] [stdout] 335 |             if let Some(mode) = shares.find_mode(ctx.path.to_str().unwrap(), username) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/shares.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct AccessRule {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 38 |     pub mode: AccessMode,
[INFO] [stdout] 39 |     pub line: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | /     /// Enforce the given HTTP Origin header value to prevent CSRF attacks.
[INFO] [stdout] 67 | |     #[clap(long, validator = validate_origin)]
[INFO] [stdout] 68 | |     origin: Option<String>,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | /     /// Serve via the given Unix domain socket path.
[INFO] [stdout] 71 | |     #[cfg(unix)]
[INFO] [stdout] 72 | |     #[clap(long)]
[INFO] [stdout] 73 | |     socket: Option<String>,
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:211:35
[INFO] [stdout]     |
[INFO] [stdout] 211 |   ) -> Result<Response, Infallible> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 212 | |     let (parts, body) = request.into_parts();
[INFO] [stdout] 213 | |
[INFO] [stdout] 214 | |     let mut resp = build_response(args, &*controller, parts, body)
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     Ok(resp)
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:211:35
[INFO] [stdout]     |
[INFO] [stdout] 211 |   ) -> Result<Response, Infallible> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 212 | |     let (parts, body) = request.into_parts();
[INFO] [stdout] 213 | |
[INFO] [stdout] 214 | |     let mut resp = build_response(args, &*controller, parts, body)
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     Ok(resp)
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::Response<hyper::Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 |     Ok(resp)
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:548:20
[INFO] [stdout]     |
[INFO] [stdout] 548 |     fn branch_head(&self) -> Result<Commit, Error> {
[INFO] [stdout]     |                    ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 548 |     fn branch_head(&self) -> Result<Commit<'_>, Error> {
[INFO] [stdout]     |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/controller.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error>;
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/controller.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn signature(&self, repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/controller.rs:313:18
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn signature(&self, _repo: &Repository, parts: &Parts) -> Result<Signature, Error> {
[INFO] [stdout]     |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn signature(&self, _repo: &Repository, parts: &Parts) -> Result<Signature<'_>, Error> {
[INFO] [stdout]     |                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shares.rs:14:55
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rules_iter<'a>(&'a self, path: &'a str) -> RulesIter {
[INFO] [stdout]    |                            --              --         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |               |
[INFO] [stdout]    |                            |               the lifetime is named here
[INFO] [stdout]    |                            the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rules_iter<'a>(&'a self, path: &'a str) -> RulesIter<'a> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/shares.rs:22:77
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn find_mode<'a>(&'a self, path: &'a str, username: &str) -> Option<&AccessMode> {
[INFO] [stdout]    |                           --              -- the lifetime is named here     ^^^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn find_mode<'a>(&'a self, path: &'a str, username: &str) -> Option<&'a AccessMode> {
[INFO] [stdout]    |                                                                              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gitpad` (bin "gitpad" test) due to 5 previous errors; 22 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e65c57235c8eb9ee6dc370dc809791cc485977e7bea177f649e8827bb532687d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e65c57235c8eb9ee6dc370dc809791cc485977e7bea177f649e8827bb532687d", kill_on_drop: false }`
[INFO] [stdout] e65c57235c8eb9ee6dc370dc809791cc485977e7bea177f649e8827bb532687d
