[INFO] fetching crate string_manip_rust 0.1.2...
[INFO] building string_manip_rust-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate string_manip_rust 0.1.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate string_manip_rust 0.1.2
[INFO] finished tweaking crates.io crate string_manip_rust 0.1.2
[INFO] tweaked toml for crates.io crate string_manip_rust 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate string_manip_rust 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95bfe515f71adbdfb95f9751eaa41cc45d235862524544a657bc59e380e78a0c
[INFO] running `Command { std: "docker" "start" "-a" "95bfe515f71adbdfb95f9751eaa41cc45d235862524544a657bc59e380e78a0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95bfe515f71adbdfb95f9751eaa41cc45d235862524544a657bc59e380e78a0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95bfe515f71adbdfb95f9751eaa41cc45d235862524544a657bc59e380e78a0c", kill_on_drop: false }`
[INFO] [stdout] 95bfe515f71adbdfb95f9751eaa41cc45d235862524544a657bc59e380e78a0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7beb7e880dc0390c459a581f8cb25dadcdedea789679d69b720f2a60f12ae3e3
[INFO] running `Command { std: "docker" "start" "-a" "7beb7e880dc0390c459a581f8cb25dadcdedea789679d69b720f2a60f12ae3e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling string_manip_rust v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]  --> src/data_processing.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]  --> src/file_ops.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result<String, String>{ todo!()}
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result<i32, String> {todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]  --> src/data_processing.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ASC` and `DESC` are never constructed
[INFO] [stdout]  --> src/data_processing.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     ASC,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     DESC
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_uppercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     str.to_uppercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the uppercase string as a new String, without modifying the original
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ = str.to_uppercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_lowercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     str.to_lowercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the lowercase string as a new String, without modifying the original
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let _ = str.to_lowercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Order` is more private than the item `sort`
[INFO] [stdout]  --> src/data_processing.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sort` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Order` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/data_processing.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "7beb7e880dc0390c459a581f8cb25dadcdedea789679d69b720f2a60f12ae3e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7beb7e880dc0390c459a581f8cb25dadcdedea789679d69b720f2a60f12ae3e3", kill_on_drop: false }`
[INFO] [stdout] 7beb7e880dc0390c459a581f8cb25dadcdedea789679d69b720f2a60f12ae3e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9267d6d170ca5459f48fabcae11e26ee043ff06f302cc8e3c7af47931fbffa62
[INFO] running `Command { std: "docker" "start" "-a" "9267d6d170ca5459f48fabcae11e26ee043ff06f302cc8e3c7af47931fbffa62", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]  --> src/data_processing.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]  --> src/file_ops.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result<String, String>{ todo!()}
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result<i32, String> {todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]  --> src/data_processing.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ASC` and `DESC` are never constructed
[INFO] [stdout]  --> src/data_processing.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     ASC,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     DESC
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_uppercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     str.to_uppercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the uppercase string as a new String, without modifying the original
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ = str.to_uppercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_lowercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     str.to_lowercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the lowercase string as a new String, without modifying the original
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let _ = str.to_lowercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Order` is more private than the item `sort`
[INFO] [stdout]  --> src/data_processing.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sort` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Order` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/data_processing.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling string_manip_rust v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]  --> src/data_processing.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/data_processing.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]  --> src/data_processing.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn filter<T>(data: Vec<T>, predicate: fn(T) -> bool) -> Vec<T> { todo!() } 
[INFO] [stdout]   |                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result<String, String>{ todo!()}
[INFO] [stdout]   |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result<i32, String> {todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]  --> src/file_ops.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]  --> src/file_ops.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()}
[INFO] [stdout]   |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ASC` and `DESC` are never constructed
[INFO] [stdout]  --> src/data_processing.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 2 |     ASC,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     DESC
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Order` is more private than the item `sort`
[INFO] [stdout]  --> src/data_processing.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sort(data: Vec<i32>, order: Order) -> Vec<i32> { todo!() }
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sort` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Order` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/data_processing.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Order {
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_uppercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     str.to_uppercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the uppercase string as a new String, without modifying the original
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ = str.to_uppercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::to_lowercase` that must be used
[INFO] [stdout]   --> src/string_utils.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     str.to_lowercase();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the lowercase string as a new String, without modifying the original
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let _ = str.to_lowercase();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "9267d6d170ca5459f48fabcae11e26ee043ff06f302cc8e3c7af47931fbffa62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9267d6d170ca5459f48fabcae11e26ee043ff06f302cc8e3c7af47931fbffa62", kill_on_drop: false }`
[INFO] [stdout] 9267d6d170ca5459f48fabcae11e26ee043ff06f302cc8e3c7af47931fbffa62
