[INFO] fetching crate string_manip_rust 0.1.2...
[INFO] building string_manip_rust-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate string_manip_rust 0.1.2 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate string_manip_rust 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62af705d8f00e7f91ebea4994786dcc74c385f5014f070961c0c23518048ea6f
[INFO] running `Command { std: "docker" "start" "-a" "62af705d8f00e7f91ebea4994786dcc74c385f5014f070961c0c23518048ea6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62af705d8f00e7f91ebea4994786dcc74c385f5014f070961c0c23518048ea6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62af705d8f00e7f91ebea4994786dcc74c385f5014f070961c0c23518048ea6f", kill_on_drop: false }`
[INFO] [stdout] 62af705d8f00e7f91ebea4994786dcc74c385f5014f070961c0c23518048ea6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e506a389edcab336bb31da691f1e52032616b41bd55f96acf7cd941f94fa252
[INFO] running `Command { std: "docker" "start" "-a" "3e506a389edcab336bb31da691f1e52032616b41bd55f96acf7cd941f94fa252", kill_on_drop: false }`
[INFO] [stderr]    Compiling string_manip_rust v0.1.2 (/opt/rustwide/workdir)
[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]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: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: 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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "3e506a389edcab336bb31da691f1e52032616b41bd55f96acf7cd941f94fa252", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e506a389edcab336bb31da691f1e52032616b41bd55f96acf7cd941f94fa252", kill_on_drop: false }`
[INFO] [stdout] 3e506a389edcab336bb31da691f1e52032616b41bd55f96acf7cd941f94fa252
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cdd20e5359404dddb3b24a1a4dd5569863037a1e639e6c430d261866552dd3fc
[INFO] running `Command { std: "docker" "start" "-a" "cdd20e5359404dddb3b24a1a4dd5569863037a1e639e6c430d261866552dd3fc", kill_on_drop: false }`
[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]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: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: 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: 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: 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: 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]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: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: 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: 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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "cdd20e5359404dddb3b24a1a4dd5569863037a1e639e6c430d261866552dd3fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdd20e5359404dddb3b24a1a4dd5569863037a1e639e6c430d261866552dd3fc", kill_on_drop: false }`
[INFO] [stdout] cdd20e5359404dddb3b24a1a4dd5569863037a1e639e6c430d261866552dd3fc
