[INFO] cloning repository https://github.com/futurepaul/hash-cop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/futurepaul/hash-cop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuturepaul%2Fhash-cop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuturepaul%2Fhash-cop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1e8046adcf51ac2f32542f585769501b93e8a69 [INFO] checking futurepaul/hash-cop against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuturepaul%2Fhash-cop" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/futurepaul/hash-cop on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/futurepaul/hash-cop [INFO] finished tweaking git repo https://github.com/futurepaul/hash-cop [INFO] tweaked toml for git repo https://github.com/futurepaul/hash-cop written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/futurepaul/hash-cop 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-view v0.1.3 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded piet-common v0.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded piet v0.4.0 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded kurbo v0.8.1 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded piet-cairo v0.4.0 [INFO] [stderr] Downloaded piet-coregraphics v0.4.0 [INFO] [stderr] Downloaded piet-web v0.4.0 [INFO] [stderr] Downloaded piet-direct2d v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 044a885965dea017fb4d4fa1018784bac0b10914bc4d28d6f69e18b8b0b2c3e2 [INFO] running `Command { std: "docker" "start" "-a" "044a885965dea017fb4d4fa1018784bac0b10914bc4d28d6f69e18b8b0b2c3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "044a885965dea017fb4d4fa1018784bac0b10914bc4d28d6f69e18b8b0b2c3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044a885965dea017fb4d4fa1018784bac0b10914bc4d28d6f69e18b8b0b2c3e2", kill_on_drop: false }` [INFO] [stdout] 044a885965dea017fb4d4fa1018784bac0b10914bc4d28d6f69e18b8b0b2c3e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea37205de714181a9311a1c9eb3cfb796be0177ebb519e396adb30be2138b0ba [INFO] running `Command { std: "docker" "start" "-a" "ea37205de714181a9311a1c9eb3cfb796be0177ebb519e396adb30be2138b0ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pangocairo v0.10.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking kurbo v0.8.1 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking piet v0.4.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hex-view v0.1.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling pangocairo-sys v0.11.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking piet-cairo v0.4.0 [INFO] [stderr] Checking piet-common v0.4.1 [INFO] [stderr] Checking druid-shell v0.7.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking druid v0.7.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking hash-cop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `widget::LabelText` [INFO] [stdout] --> src/data.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{widget::LabelText, EventCtx}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget::LabelText` [INFO] [stdout] --> src/data.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{widget::LabelText, EventCtx}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MainAxisAlignment`, `TextBox`, `WidgetPod` [INFO] [stdout] --> src/view.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | widget::{Button, Either, Flex, Label, LabelText, MainAxisAlignment, Spinner, TextBox}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | Color, Data, Env, Key, WidgetPod, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MainAxisAlignment`, `TextBox`, `WidgetPod` [INFO] [stdout] --> src/view.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | widget::{Button, Either, Flex, Label, LabelText, MainAxisAlignment, Spinner, TextBox}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | Color, Data, Env, Key, WidgetPod, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | for (name, hash) in &self.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, hash) in &data.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/data.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | for (name, hash) in &self.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_asc` [INFO] [stdout] --> src/manifest_parser.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_manifest(manifest: String, is_asc: bool) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, hash) in &data.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/data.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `pick_expected_hash` and `compare_hash` are never used [INFO] [stdout] --> src/data.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AppState { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn compare_hash(_ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:62:88 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(hash) = self.filename_hash_pairs.get(self.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | .contains_key(self.filename.as_ref().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:113:84 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(hash) = data.filename_hash_pairs.get(data.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_asc` [INFO] [stdout] --> src/manifest_parser.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_manifest(manifest: String, is_asc: bool) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `pick_expected_hash` and `compare_hash` are never used [INFO] [stdout] --> src/data.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AppState { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn compare_hash(_ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:62:88 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(hash) = self.filename_hash_pairs.get(self.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | .contains_key(self.filename.as_ref().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:113:84 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(hash) = data.filename_hash_pairs.get(data.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fluent-bundle v0.12.0, rental v0.5.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ea37205de714181a9311a1c9eb3cfb796be0177ebb519e396adb30be2138b0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea37205de714181a9311a1c9eb3cfb796be0177ebb519e396adb30be2138b0ba", kill_on_drop: false }` [INFO] [stdout] ea37205de714181a9311a1c9eb3cfb796be0177ebb519e396adb30be2138b0ba [INFO] checking futurepaul/hash-cop against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuturepaul%2Fhash-cop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/futurepaul/hash-cop on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/futurepaul/hash-cop [INFO] finished tweaking git repo https://github.com/futurepaul/hash-cop [INFO] tweaked toml for git repo https://github.com/futurepaul/hash-cop written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/futurepaul/hash-cop 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eb67d04cc2e80523c7bc0bf53928b4daeb5301e350c586fce3f52da6abca19b [INFO] running `Command { std: "docker" "start" "-a" "9eb67d04cc2e80523c7bc0bf53928b4daeb5301e350c586fce3f52da6abca19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eb67d04cc2e80523c7bc0bf53928b4daeb5301e350c586fce3f52da6abca19b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb67d04cc2e80523c7bc0bf53928b4daeb5301e350c586fce3f52da6abca19b", kill_on_drop: false }` [INFO] [stdout] 9eb67d04cc2e80523c7bc0bf53928b4daeb5301e350c586fce3f52da6abca19b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc1cb720b5cb673bf0f549cc222cc6f69191b84e5c04969537e4624e508d1219 [INFO] running `Command { std: "docker" "start" "-a" "fc1cb720b5cb673bf0f549cc222cc6f69191b84e5c04969537e4624e508d1219", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling pangocairo v0.10.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking kurbo v0.8.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking piet v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking hex-view v0.1.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling pangocairo-sys v0.11.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking piet-cairo v0.4.0 [INFO] [stderr] Checking piet-common v0.4.1 [INFO] [stderr] Checking druid-shell v0.7.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking druid v0.7.0 (https://github.com/linebender/druid?rev=ac3e0a6#ac3e0a66) [INFO] [stderr] Checking hash-cop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `widget::LabelText` [INFO] [stdout] --> src/data.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{widget::LabelText, EventCtx}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widget::LabelText` [INFO] [stdout] --> src/data.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use druid::{widget::LabelText, EventCtx}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/hash.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MainAxisAlignment`, `TextBox`, `WidgetPod` [INFO] [stdout] --> src/view.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | widget::{Button, Either, Flex, Label, LabelText, MainAxisAlignment, Spinner, TextBox}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | Color, Data, Env, Key, WidgetPod, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `MainAxisAlignment`, `TextBox`, `WidgetPod` [INFO] [stdout] --> src/view.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | widget::{Button, Either, Flex, Label, LabelText, MainAxisAlignment, Spinner, TextBox}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | Color, Data, Env, Key, WidgetPod, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | for (name, hash) in &self.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, hash) in &data.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/data.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_asc` [INFO] [stdout] --> src/manifest_parser.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_manifest(manifest: String, is_asc: bool) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `pick_expected_hash` and `compare_hash` are never used [INFO] [stdout] --> src/data.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AppState { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn compare_hash(_ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:62:88 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(hash) = self.filename_hash_pairs.get(self.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | .contains_key(self.filename.as_ref().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:113:84 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(hash) = data.filename_hash_pairs.get(data.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | for (name, hash) in &self.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/data.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, hash) in &data.filename_hash_pairs.as_ref().clone() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/data.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_asc` [INFO] [stdout] --> src/manifest_parser.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_manifest(manifest: String, is_asc: bool) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `pick_expected_hash` and `compare_hash` are never used [INFO] [stdout] --> src/data.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AppState { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn pick_expected_hash(ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn compare_hash(_ctx: &mut EventCtx, data: &mut Self, _env: &Env) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:62:88 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(hash) = self.filename_hash_pairs.get(self.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | .contains_key(self.filename.as_ref().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/data.rs:113:84 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(hash) = data.filename_hash_pairs.get(data.filename.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fluent-bundle v0.12.0, rental v0.5.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fc1cb720b5cb673bf0f549cc222cc6f69191b84e5c04969537e4624e508d1219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1cb720b5cb673bf0f549cc222cc6f69191b84e5c04969537e4624e508d1219", kill_on_drop: false }` [INFO] [stdout] fc1cb720b5cb673bf0f549cc222cc6f69191b84e5c04969537e4624e508d1219