[INFO] cloning repository https://github.com/aaronrolls/deathbygolfprompter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aaronrolls/deathbygolfprompter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronrolls%2Fdeathbygolfprompter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronrolls%2Fdeathbygolfprompter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72825ec1bdc44634ee62b7f8b34308fee273f439 [INFO] testing aaronrolls/deathbygolfprompter against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronrolls%2Fdeathbygolfprompter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aaronrolls/deathbygolfprompter on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aaronrolls/deathbygolfprompter [INFO] finished tweaking git repo https://github.com/aaronrolls/deathbygolfprompter [INFO] tweaked toml for git repo https://github.com/aaronrolls/deathbygolfprompter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aaronrolls/deathbygolfprompter 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: application [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dioxus-hot-reload v0.4.0 [INFO] [stderr] Downloaded dioxus-web v0.4.0 [INFO] [stderr] Downloaded dioxus v0.4.0 [INFO] [stderr] Downloaded dioxus-hooks v0.4.0 [INFO] [stderr] Downloaded dioxus-interpreter-js v0.4.0 [INFO] [stderr] Downloaded dioxus-html v0.4.0 [INFO] [stderr] Downloaded dioxus-rsx v0.4.0 [INFO] [stderr] Downloaded dioxus-core v0.4.2 [INFO] [stderr] Downloaded dioxus-core-macro v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b9d593870239d37380e2e002a36e784e5e5dbdfac288df3ca48763116198eb8 [INFO] running `Command { std: "docker" "start" "-a" "5b9d593870239d37380e2e002a36e784e5e5dbdfac288df3ca48763116198eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b9d593870239d37380e2e002a36e784e5e5dbdfac288df3ca48763116198eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9d593870239d37380e2e002a36e784e5e5dbdfac288df3ca48763116198eb8", kill_on_drop: false }` [INFO] [stdout] 5b9d593870239d37380e2e002a36e784e5e5dbdfac288df3ca48763116198eb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ecc20f9478b2415fb50b3fcf2c0803dd772fd84141be0239ba9146b5da7511 [INFO] running `Command { std: "docker" "start" "-a" "16ecc20f9478b2415fb50b3fcf2c0803dd772fd84141be0239ba9146b5da7511", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: application [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling smallbox v0.8.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling intmap v0.7.1 [INFO] [stderr] Compiling to_method v1.1.0 [INFO] [stderr] Compiling dioxus-debug-cell v0.1.1 [INFO] [stderr] Compiling interprocess-docfix v1.2.2 [INFO] [stderr] Compiling spinning v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling blocking v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lru v0.8.1 [INFO] [stderr] Compiling dioxus-core v0.4.2 [INFO] [stderr] Compiling sledgehammer_utils v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling dioxus-rsx v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling sledgehammer_bindgen v0.2.4 [INFO] [stderr] Compiling dioxus-core-macro v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling enumset v1.1.3 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.37 [INFO] [stderr] Compiling keyboard-types v0.6.2 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling dioxus-hooks v0.4.0 [INFO] [stderr] Compiling dioxus-html v0.4.0 [INFO] [stderr] Compiling dioxus-interpreter-js v0.4.0 [INFO] [stderr] Compiling dioxus-hot-reload v0.4.0 [INFO] [stderr] Compiling dioxus-web v0.4.0 [INFO] [stderr] Compiling dioxus v0.4.0 [INFO] [stderr] Compiling death_by_golf_prompter_web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dioxus::html::a` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::html::a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | if lines[each].contains((&number.to_string())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if lines[each].contains((&number.to_string())) { [INFO] [stdout] 95 + if lines[each].contains(&number.to_string()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_line` is assigned to, but never used [INFO] [stdout] --> src/main.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let mut prev_line: usize = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_line` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_line` is never read [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | prev_line = each; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/main.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn get_previous_number(lines: &Vec, char: &str, current_line: &usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/main.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut page = String::from("Page"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut page = String::from("Page"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let mut s = death_by_golf::get_text(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut int_name = name; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | let count = get_current_number(&lines4, &char.read().charature, &buffer.read().current_line); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | let mut buffer = use_ref(cx, Buffer::new); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut char = use_ref(cx, Char::new); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Charatures` is never used [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum Charatures { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_text` is never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Charatures { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 34 | fn get_text(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `next`, and `next_out` are never used [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn next_out(&mut self, lines: &Vec, current_line: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | / move || { [INFO] [stdout] 307 | | char.with_mut(|c| c.set("TONY.")); [INFO] [stdout] 308 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [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" "16ecc20f9478b2415fb50b3fcf2c0803dd772fd84141be0239ba9146b5da7511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ecc20f9478b2415fb50b3fcf2c0803dd772fd84141be0239ba9146b5da7511", kill_on_drop: false }` [INFO] [stdout] 16ecc20f9478b2415fb50b3fcf2c0803dd772fd84141be0239ba9146b5da7511 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 004d95061d156796820dbe88c605a72752dc7f3ca6139294e962e5af43a0e6d5 [INFO] running `Command { std: "docker" "start" "-a" "004d95061d156796820dbe88c605a72752dc7f3ca6139294e962e5af43a0e6d5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: application [INFO] [stderr] Compiling death_by_golf_prompter_web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dioxus::html::a` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::html::a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | if lines[each].contains((&number.to_string())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if lines[each].contains((&number.to_string())) { [INFO] [stdout] 95 + if lines[each].contains(&number.to_string()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_line` is assigned to, but never used [INFO] [stdout] --> src/main.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let mut prev_line: usize = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_line` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_line` is never read [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | prev_line = each; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `char` [INFO] [stdout] --> src/main.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn get_previous_number(lines: &Vec, char: &str, current_line: &usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/main.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut page = String::from("Page"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut page = String::from("Page"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let mut s = death_by_golf::get_text(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut int_name = name; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | let count = get_current_number(&lines4, &char.read().charature, &buffer.read().current_line); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | let mut buffer = use_ref(cx, Buffer::new); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut char = use_ref(cx, Char::new); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Charatures` is never used [INFO] [stdout] --> src/main.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum Charatures { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_text` is never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Charatures { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 34 | fn get_text(self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `next`, and `next_out` are never used [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn next_out(&mut self, lines: &Vec, current_line: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | / move || { [INFO] [stdout] 307 | | char.with_mut(|c| c.set("TONY.")); [INFO] [stdout] 308 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [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" "004d95061d156796820dbe88c605a72752dc7f3ca6139294e962e5af43a0e6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "004d95061d156796820dbe88c605a72752dc7f3ca6139294e962e5af43a0e6d5", kill_on_drop: false }` [INFO] [stdout] 004d95061d156796820dbe88c605a72752dc7f3ca6139294e962e5af43a0e6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cae54afebcefb05d449ec45ce20eb4c2b569c50bd473a6d554510f5cc33455e9 [INFO] running `Command { std: "docker" "start" "-a" "cae54afebcefb05d449ec45ce20eb4c2b569c50bd473a6d554510f5cc33455e9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: application [INFO] [stderr] warning: unused import: `dioxus::html::a` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use dioxus::html::a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/main.rs:95:37 [INFO] [stderr] | [INFO] [stderr] 95 | if lines[each].contains((&number.to_string())) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 95 - if lines[each].contains((&number.to_string())) { [INFO] [stderr] 95 + if lines[each].contains(&number.to_string()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `prev_line` is assigned to, but never used [INFO] [stderr] --> src/main.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | let mut prev_line: usize = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_prev_line` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `prev_line` is never read [INFO] [stderr] --> src/main.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | prev_line = each; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `char` [INFO] [stderr] --> src/main.rs:184:45 [INFO] [stderr] | [INFO] [stderr] 184 | fn get_previous_number(lines: &Vec, char: &str, current_line: &usize) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_char` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/main.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | let mut page = String::from("Page"); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | let mut page = String::from("Page"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | let mut s = death_by_golf::get_text(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:286:13 [INFO] [stderr] | [INFO] [stderr] 286 | let mut int_name = name; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/main.rs:377:21 [INFO] [stderr] | [INFO] [stderr] 377 | let count = get_current_number(&lines4, &char.read().charature, &buffer.read().current_line); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:303:9 [INFO] [stderr] | [INFO] [stderr] 303 | let mut buffer = use_ref(cx, Buffer::new); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:304:9 [INFO] [stderr] | [INFO] [stderr] 304 | let mut char = use_ref(cx, Char::new); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: enum `Charatures` is never used [INFO] [stderr] --> src/main.rs:25:6 [INFO] [stderr] | [INFO] [stderr] 25 | enum Charatures { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_text` is never used [INFO] [stderr] --> src/main.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 33 | impl Charatures { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 34 | fn get_text(self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `clear`, `next`, and `next_out` are never used [INFO] [stderr] --> src/main.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 53 | impl Buffer { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | fn next(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | fn next_out(&mut self, lines: &Vec, current_line: &usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused closure that must be used [INFO] [stderr] --> src/main.rs:306:5 [INFO] [stderr] | [INFO] [stderr] 306 | / move || { [INFO] [stderr] 307 | | char.with_mut(|c| c.set("TONY.")); [INFO] [stderr] 308 | | }; [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: closures are lazy and do nothing unless called [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `death_by_golf_prompter_web` (bin "death_by_golf_prompter_web" test) generated 18 warnings (run `cargo fix --bin "death_by_golf_prompter_web" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/death_by_golf_prompter_web-3ff215a97683d9b8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cae54afebcefb05d449ec45ce20eb4c2b569c50bd473a6d554510f5cc33455e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae54afebcefb05d449ec45ce20eb4c2b569c50bd473a6d554510f5cc33455e9", kill_on_drop: false }` [INFO] [stdout] cae54afebcefb05d449ec45ce20eb4c2b569c50bd473a6d554510f5cc33455e9