[INFO] cloning repository https://github.com/aaronrolls/uptheguts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aaronrolls/uptheguts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronrolls%2Fuptheguts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronrolls%2Fuptheguts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ff2a4d468e209549c6ac5359b535e130308e635 [INFO] testing aaronrolls/uptheguts 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%2Fuptheguts" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aaronrolls/uptheguts 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/uptheguts [INFO] finished tweaking git repo https://github.com/aaronrolls/uptheguts [INFO] tweaked toml for git repo https://github.com/aaronrolls/uptheguts written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aaronrolls/uptheguts 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] 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 sledgehammer_utils v0.2.0 [INFO] [stderr] Downloaded dioxus-web v0.4.0 [INFO] [stderr] Downloaded sledgehammer_bindgen v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 42712b2d8ce2553ebc385b0a00f1efdbe4cab27efc377cef19002cefe20c1210 [INFO] running `Command { std: "docker" "start" "-a" "42712b2d8ce2553ebc385b0a00f1efdbe4cab27efc377cef19002cefe20c1210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42712b2d8ce2553ebc385b0a00f1efdbe4cab27efc377cef19002cefe20c1210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42712b2d8ce2553ebc385b0a00f1efdbe4cab27efc377cef19002cefe20c1210", kill_on_drop: false }` [INFO] [stdout] 42712b2d8ce2553ebc385b0a00f1efdbe4cab27efc377cef19002cefe20c1210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 081a184c0480897a44a5f9c42e85cdc731963ee6963cfe3cb00ba49641d25741 [INFO] running `Command { std: "docker" "start" "-a" "081a184c0480897a44a5f9c42e85cdc731963ee6963cfe3cb00ba49641d25741", 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 pin-project-lite v0.2.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [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 libc v0.2.149 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling smallbox v0.8.2 [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 num-traits v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling interprocess-docfix v1.2.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling spinning v0.1.0 [INFO] [stderr] Compiling intmap v0.7.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling blocking v1.4.1 [INFO] [stderr] Compiling to_method v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling dioxus-debug-cell v0.1.1 [INFO] [stderr] Compiling lru v0.8.1 [INFO] [stderr] Compiling sledgehammer_utils v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling dioxus-core v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [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 wasm-bindgen-macro-support v0.2.87 [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 wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling sledgehammer_bindgen v0.2.4 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling dioxus-core-macro v0.4.0 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.37 [INFO] [stderr] Compiling enumset v1.1.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling keyboard-types v0.6.2 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling dioxus-interpreter-js v0.4.0 [INFO] [stderr] Compiling dioxus-html v0.4.0 [INFO] [stderr] Compiling dioxus-hooks 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 up_the_guts_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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 - if lines[each].contains((&number.to_string())) { [INFO] [stdout] 106 + 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | 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:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | 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:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | 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:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let mut s = up_the_guts::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:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | 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:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | 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:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | 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:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | 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:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Charatures { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 41 | 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:76:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | 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:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / move || { [INFO] [stdout] 332 | | char.with_mut(|c| c.set("ROGER")); [INFO] [stdout] 333 | | }; [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 1m 31s [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" "081a184c0480897a44a5f9c42e85cdc731963ee6963cfe3cb00ba49641d25741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081a184c0480897a44a5f9c42e85cdc731963ee6963cfe3cb00ba49641d25741", kill_on_drop: false }` [INFO] [stdout] 081a184c0480897a44a5f9c42e85cdc731963ee6963cfe3cb00ba49641d25741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 123fdd3a8a1f61bb0b3191c0e2c0abe90c4aaa77292bdf8872121c9f2ac67677 [INFO] running `Command { std: "docker" "start" "-a" "123fdd3a8a1f61bb0b3191c0e2c0abe90c4aaa77292bdf8872121c9f2ac67677", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: application [INFO] [stderr] Compiling up_the_guts_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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 - if lines[each].contains((&number.to_string())) { [INFO] [stdout] 106 + 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | 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:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | 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:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | 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:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let mut s = up_the_guts::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:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | 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:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | 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:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | 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:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | 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:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | 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:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Charatures { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 41 | 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:76:8 [INFO] [stdout] | [INFO] [stdout] 64 | impl Buffer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | 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:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / move || { [INFO] [stdout] 332 | | char.with_mut(|c| c.set("ROGER")); [INFO] [stdout] 333 | | }; [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.96s [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" "123fdd3a8a1f61bb0b3191c0e2c0abe90c4aaa77292bdf8872121c9f2ac67677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123fdd3a8a1f61bb0b3191c0e2c0abe90c4aaa77292bdf8872121c9f2ac67677", kill_on_drop: false }` [INFO] [stdout] 123fdd3a8a1f61bb0b3191c0e2c0abe90c4aaa77292bdf8872121c9f2ac67677 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8d592a2812f57c5380319513b0f5366120bab3a66a496428804a8e9aef117076 [INFO] running `Command { std: "docker" "start" "-a" "8d592a2812f57c5380319513b0f5366120bab3a66a496428804a8e9aef117076", 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:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/main.rs:106:37 [INFO] [stderr] | [INFO] [stderr] 106 | 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] 106 - if lines[each].contains((&number.to_string())) { [INFO] [stderr] 106 + if lines[each].contains(&number.to_string()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | 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:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | 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:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | 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:201:45 [INFO] [stderr] | [INFO] [stderr] 201 | 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:242:13 [INFO] [stderr] | [INFO] [stderr] 242 | 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:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | 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:282:9 [INFO] [stderr] | [INFO] [stderr] 282 | let mut s = up_the_guts::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:311:13 [INFO] [stderr] | [INFO] [stderr] 311 | 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:402:21 [INFO] [stderr] | [INFO] [stderr] 402 | 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:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | 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:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | 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:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | 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:41:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl Charatures { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 41 | 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:76:8 [INFO] [stderr] | [INFO] [stderr] 64 | impl Buffer { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | fn next(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | 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:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | / move || { [INFO] [stderr] 332 | | char.with_mut(|c| c.set("ROGER")); [INFO] [stderr] 333 | | }; [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: `up_the_guts_prompter_web` (bin "up_the_guts_prompter_web" test) generated 18 warnings (run `cargo fix --bin "up_the_guts_prompter_web" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [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/up_the_guts_prompter_web-0e5bb65f989c4901) [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" "8d592a2812f57c5380319513b0f5366120bab3a66a496428804a8e9aef117076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d592a2812f57c5380319513b0f5366120bab3a66a496428804a8e9aef117076", kill_on_drop: false }` [INFO] [stdout] 8d592a2812f57c5380319513b0f5366120bab3a66a496428804a8e9aef117076