[INFO] cloning repository https://github.com/ayourtch/tweak-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/tweak-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftweak-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftweak-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68164e2b87694155acfc01091eb95f49f6be9335 [INFO] checking ayourtch/tweak-code against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Ftweak-code" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ayourtch/tweak-code [INFO] finished tweaking git repo https://github.com/ayourtch/tweak-code [INFO] tweaked toml for git repo https://github.com/ayourtch/tweak-code written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayourtch/tweak-code on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ayourtch/tweak-code 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adaed291253a56645e2a3f13bb3da9a319af6110400b293822ae1b867eac1a3e [INFO] running `Command { std: "docker" "start" "-a" "adaed291253a56645e2a3f13bb3da9a319af6110400b293822ae1b867eac1a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adaed291253a56645e2a3f13bb3da9a319af6110400b293822ae1b867eac1a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adaed291253a56645e2a3f13bb3da9a319af6110400b293822ae1b867eac1a3e", kill_on_drop: false }` [INFO] [stdout] adaed291253a56645e2a3f13bb3da9a319af6110400b293822ae1b867eac1a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b62877dde54784da60046734269fece834428f56b6eb78744cad5f7f9c5012b8 [INFO] running `Command { std: "docker" "start" "-a" "b62877dde54784da60046734269fece834428f56b6eb78744cad5f7f9c5012b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling minreq v2.13.3 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking tweak-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration` and `SystemTime` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::ItemUse` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::ItemUse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `SystemTime` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::ItemUse` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::ItemUse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 545 | panic!("Error reading file {}: {}", file_path, err); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 546 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 554 | panic!("Error parsing file {}: {}", file_path, err); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 555 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 545 | panic!("Error reading file {}: {}", file_path, err); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 546 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 554 | panic!("Error parsing file {}: {}", file_path, err); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 555 | return; [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let path = &use_path.ident.to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_name` [INFO] [stdout] --> src/main.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | UseTree::Name(use_name) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_glob` [INFO] [stdout] --> src/main.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | UseTree::Glob(use_glob) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_glob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_rename` [INFO] [stdout] --> src/main.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | UseTree::Rename(use_rename) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_rename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let path = &use_path.ident.to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_name` [INFO] [stdout] --> src/main.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | UseTree::Name(use_name) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_glob` [INFO] [stdout] --> src/main.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | UseTree::Glob(use_glob) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_glob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_rename` [INFO] [stdout] --> src/main.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | UseTree::Rename(use_rename) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_rename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut replacements = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut replacements = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut qualified_replacements = HashMap::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:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut import_replacements = HashMap::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:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut specific_path_replacements = HashMap::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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut crate_replacements = HashMap::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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut file_function_mappings = HashMap::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:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut qualified_replacements = HashMap::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:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut import_replacements = HashMap::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:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut specific_path_replacements = HashMap::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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut crate_replacements = HashMap::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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let mut file_function_mappings = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_path` [INFO] [stdout] --> src/main.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | UseTree::Path(ref mut use_path) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_name` [INFO] [stdout] --> src/main.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | UseTree::Name(use_name) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_rename` [INFO] [stdout] --> src/main.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | UseTree::Rename(use_rename) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_rename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_path` [INFO] [stdout] --> src/main.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | UseTree::Path(ref mut use_path) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_name` [INFO] [stdout] --> src/main.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | UseTree::Name(use_name) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `use_rename` [INFO] [stdout] --> src/main.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | UseTree::Rename(use_rename) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_rename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | let start = span.start(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | let end = span.end(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:596:21 [INFO] [stdout] | [INFO] [stdout] 596 | let start = span.start(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:597:21 [INFO] [stdout] | [INFO] [stdout] 597 | let end = span.end(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_use_tree` is never used [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl CodeReplacer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 111 | // Helper method to process UseTree nodes recursively [INFO] [stdout] 112 | fn process_use_tree(&mut self, tree: &mut UseTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_use_tree` is never used [INFO] [stdout] --> src/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl CodeReplacer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 111 | // Helper method to process UseTree nodes recursively [INFO] [stdout] 112 | fn process_use_tree(&mut self, tree: &mut UseTree) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | from_arg: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | to_arg: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | bulk_replacement_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | options_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | from_arg: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | to_arg: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file_path: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | bulk_replacement_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | options_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tweak-code` (bin "tweak-code") due to 5 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tweak-code` (bin "tweak-code" test) due to 5 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b62877dde54784da60046734269fece834428f56b6eb78744cad5f7f9c5012b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62877dde54784da60046734269fece834428f56b6eb78744cad5f7f9c5012b8", kill_on_drop: false }` [INFO] [stdout] b62877dde54784da60046734269fece834428f56b6eb78744cad5f7f9c5012b8