[INFO] fetching crate gitpad 0.1.1... [INFO] testing gitpad-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate gitpad 0.1.1 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate gitpad 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-17/source/Cargo.toml [INFO] crate crates.io crate gitpad 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded pin-project-internal v1.0.7 [INFO] [stderr] Downloaded hyperlocal v0.8.0 [INFO] [stderr] Downloaded pin-project v1.0.7 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded openssl-sys v0.9.65 [INFO] [stderr] Downloaded derive_more v0.99.14 [INFO] [stderr] Downloaded spin v0.9.1 [INFO] [stderr] Downloaded httparse v1.4.1 [INFO] [stderr] Downloaded multer v2.0.0 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded sputnik v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d80e006c7d206f209bff975cfdc215c726ee5beee098793a98cca6b7d17aafc7 [INFO] running `Command { std: "docker" "start" "-a" "d80e006c7d206f209bff975cfdc215c726ee5beee098793a98cca6b7d17aafc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d80e006c7d206f209bff975cfdc215c726ee5beee098793a98cca6b7d17aafc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80e006c7d206f209bff975cfdc215c726ee5beee098793a98cca6b7d17aafc7", kill_on_drop: false }` [INFO] [stdout] d80e006c7d206f209bff975cfdc215c726ee5beee098793a98cca6b7d17aafc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6596bc3303f5a0c53eb86389de2f16c863a7037579eadc7c0dea4df199aff38c [INFO] running `Command { std: "docker" "start" "-a" "6596bc3303f5a0c53eb86389de2f16c863a7037579eadc7c0dea4df199aff38c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling spin v0.9.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.21+1.1.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling git2 v0.13.20 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling sputnik v0.4.1 [INFO] [stderr] Compiling gitpad v0.1.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [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 { [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 { [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, 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, 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, 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 { [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 { [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: `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.22s [INFO] running `Command { std: "docker" "inspect" "6596bc3303f5a0c53eb86389de2f16c863a7037579eadc7c0dea4df199aff38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6596bc3303f5a0c53eb86389de2f16c863a7037579eadc7c0dea4df199aff38c", kill_on_drop: false }` [INFO] [stdout] 6596bc3303f5a0c53eb86389de2f16c863a7037579eadc7c0dea4df199aff38c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da79e7ab7c541176ca443a32b35336978f4579fcb5774f8f7318596b6f1950c [INFO] running `Command { std: "docker" "start" "-a" "3da79e7ab7c541176ca443a32b35336978f4579fcb5774f8f7318596b6f1950c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gitpad v0.1.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [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 { [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 { [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, 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, 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, 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 { [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 { [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: `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "3da79e7ab7c541176ca443a32b35336978f4579fcb5774f8f7318596b6f1950c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da79e7ab7c541176ca443a32b35336978f4579fcb5774f8f7318596b6f1950c", kill_on_drop: false }` [INFO] [stdout] 3da79e7ab7c541176ca443a32b35336978f4579fcb5774f8f7318596b6f1950c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1c03b92cad2fb008e5d68f524dd50ce45da8f0e2a6c5bd85adaac8ef2571d59 [INFO] running `Command { std: "docker" "start" "-a" "b1c03b92cad2fb008e5d68f524dd50ce45da8f0e2a6c5bd85adaac8ef2571d59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `i` [INFO] [stdout] [INFO] [stderr] --> src/controller.rs:229:9 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 229 | for i in 1..len - 1 { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parts` [INFO] [stderr] --> src/controller.rs:26:30 [INFO] [stderr] | [INFO] [stderr] 26 | fn user_info_html(&self, parts: &Parts) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/controller.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | fn access_info_html(&self, ctx: &Context) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/controller.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | fn edit_hint_html(&self, context: &Context) -> Option { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/controller.rs:51:39 [INFO] [stderr] | [INFO] [stderr] 51 | fn before_return_tree_page(&self, page: &mut Page, tree: Option, context: &Context) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tree` [INFO] [stderr] --> src/controller.rs:51:56 [INFO] [stderr] | [INFO] [stderr] 51 | fn before_return_tree_page(&self, page: &mut Page, tree: Option, context: &Context) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/controller.rs:51:76 [INFO] [stderr] | [INFO] [stderr] 51 | fn before_return_tree_page(&self, page: &mut Page, tree: Option, context: &Context) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/controller.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/controller.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | fn before_write(&self, text: &str, context: &mut Context) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/controller.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | fn after_write(&self, context: &mut Context) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/controller.rs:62:35 [INFO] [stderr] | [INFO] [stderr] 62 | fn before_return_error(&self, error: &Error) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parts` [INFO] [stderr] --> src/controller.rs:84:44 [INFO] [stderr] | [INFO] [stderr] 84 | fn signature(&self, repo: &Repository, parts: &Parts) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/controller.rs:196:28 [INFO] [stderr] | [INFO] [stderr] 196 | for (path, mode) in exact_shares { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/controller.rs:202:28 [INFO] [stderr] | [INFO] [stderr] 202 | for (path, mode) in prefix_shares { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/controller.rs:335:25 [INFO] [stderr] | [INFO] [stderr] 335 | if let Some(mode) = shares.find_mode(ctx.path.to_str().unwrap(), username) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: `gitpad` (bin "gitpad" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gitpad-9c79a87f0fbe38d7) [INFO] running `Command { std: "docker" "inspect" "b1c03b92cad2fb008e5d68f524dd50ce45da8f0e2a6c5bd85adaac8ef2571d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c03b92cad2fb008e5d68f524dd50ce45da8f0e2a6c5bd85adaac8ef2571d59", kill_on_drop: false }` [INFO] [stdout] b1c03b92cad2fb008e5d68f524dd50ce45da8f0e2a6c5bd85adaac8ef2571d59