[INFO] cloning repository https://github.com/sikora77/rusddit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sikora77/rusddit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsikora77%2Frusddit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsikora77%2Frusddit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73cfa94419a8e05ecd759e4977b0f2d20a6d3576 [INFO] checking sikora77/rusddit against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsikora77%2Frusddit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sikora77/rusddit 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/sikora77/rusddit [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/sikora77/rusddit [INFO] tweaked toml for git repo https://github.com/sikora77/rusddit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sikora77/rusddit 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] Downloading crates ... [INFO] [stderr] Downloaded semver-parser v0.6.2 [INFO] [stderr] Downloaded make-cmd v0.1.0 [INFO] [stderr] Downloaded sixel v0.3.2 [INFO] [stderr] Downloaded sixel-sys v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ff8ef8519f483430cadb918edc70cf0660516e7ec548cb602e367cae7d087378 [INFO] running `Command { std: "docker" "start" "-a" "ff8ef8519f483430cadb918edc70cf0660516e7ec548cb602e367cae7d087378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff8ef8519f483430cadb918edc70cf0660516e7ec548cb602e367cae7d087378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8ef8519f483430cadb918edc70cf0660516e7ec548cb602e367cae7d087378", kill_on_drop: false }` [INFO] [stdout] ff8ef8519f483430cadb918edc70cf0660516e7ec548cb602e367cae7d087378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a5d09dcd1c8433c8d048c5695d67e3e5cd94888e482acc963b9d2264dad33c73 [INFO] running `Command { std: "docker" "start" "-a" "a5d09dcd1c8433c8d048c5695d67e3e5cd94888e482acc963b9d2264dad33c73", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling sixel-sys v0.3.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking psl-types v2.0.10 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking ansi_colours v1.1.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tui v0.18.0 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking sixel v0.3.2 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking viuer v0.6.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking rusddit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/user_config.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | if (config_string == "".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] 27 - if (config_string == "".to_string()) { [INFO] [stdout] 27 + if config_string == "".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/user_config.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | if (config_string == "".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] 27 - if (config_string == "".to_string()) { [INFO] [stdout] 27 + if config_string == "".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | &mut LAST_POST_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | addr_of_mut!(LAST_POST_ID), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | res = app::run_app(&mut terminal, app, m, &mut LAST_POST_ID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | res = app::run_app(&mut terminal, app, m, addr_of_mut!(LAST_POST_ID)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | &mut LAST_POST_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | addr_of_mut!(LAST_POST_ID), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | res = app::run_app(&mut terminal, app, m, &mut LAST_POST_ID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 92 | res = app::run_app(&mut terminal, app, m, addr_of_mut!(LAST_POST_ID)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readConfig` should have a snake case name [INFO] [stdout] --> src/user_config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn readConfig(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeConfig` should have a snake case name [INFO] [stdout] --> src/user_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn changeConfig(&mut self, new_cookie: Option, new_tabs: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | .expect("msg") [INFO] [stdout] | _______________________^ [INFO] [stdout] 70 | | .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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `readConfig` should have a snake case name [INFO] [stdout] --> src/user_config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn readConfig(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `read_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeConfig` should have a snake case name [INFO] [stdout] --> src/user_config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn changeConfig(&mut self, new_cookie: Option, new_tabs: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | .expect("msg") [INFO] [stdout] | _______________________^ [INFO] [stdout] 70 | | .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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.30s [INFO] running `Command { std: "docker" "inspect" "a5d09dcd1c8433c8d048c5695d67e3e5cd94888e482acc963b9d2264dad33c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d09dcd1c8433c8d048c5695d67e3e5cd94888e482acc963b9d2264dad33c73", kill_on_drop: false }` [INFO] [stdout] a5d09dcd1c8433c8d048c5695d67e3e5cd94888e482acc963b9d2264dad33c73