[INFO] fetching crate string_manip_rust 0.1.2... [INFO] building string_manip_rust-0.1.2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate string_manip_rust 0.1.2 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate string_manip_rust 0.1.2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b23ec080870b89c876b926b7ed695550ce847617a856d9c2af9d0955b7a0eca5 [INFO] running `Command { std: "docker" "start" "-a" "b23ec080870b89c876b926b7ed695550ce847617a856d9c2af9d0955b7a0eca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b23ec080870b89c876b926b7ed695550ce847617a856d9c2af9d0955b7a0eca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23ec080870b89c876b926b7ed695550ce847617a856d9c2af9d0955b7a0eca5", kill_on_drop: false }` [INFO] [stdout] b23ec080870b89c876b926b7ed695550ce847617a856d9c2af9d0955b7a0eca5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a567592738e42b6f8ae0db0ae6fad8b68b469576cfd0fcf08b8578a00d12f2fd [INFO] running `Command { std: "docker" "start" "-a" "a567592738e42b6f8ae0db0ae6fad8b68b469576cfd0fcf08b8578a00d12f2fd", 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{ 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:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result {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:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { 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(data: Vec, predicate: fn(T) -> bool) -> Vec { 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: `data` [INFO] [stdout] --> src/data_processing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { 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, order: Order) -> Vec { 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::::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::::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, order: Order) -> Vec { 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.32s [INFO] running `Command { std: "docker" "inspect" "a567592738e42b6f8ae0db0ae6fad8b68b469576cfd0fcf08b8578a00d12f2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a567592738e42b6f8ae0db0ae6fad8b68b469576cfd0fcf08b8578a00d12f2fd", kill_on_drop: false }` [INFO] [stdout] a567592738e42b6f8ae0db0ae6fad8b68b469576cfd0fcf08b8578a00d12f2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f3cb0c5d096803cd70fa2208b19165416a775b471ae29313ba7c1d9bf24ff0d [INFO] running `Command { std: "docker" "start" "-a" "3f3cb0c5d096803cd70fa2208b19165416a775b471ae29313ba7c1d9bf24ff0d", 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{ 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:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result {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:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { 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(data: Vec, predicate: fn(T) -> bool) -> Vec { 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: `data` [INFO] [stdout] --> src/data_processing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { 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, order: Order) -> Vec { 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::::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::::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, order: Order) -> Vec { 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 variable: `path` [INFO] [stdout] --> src/file_ops.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result {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:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result{ 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: unused variable: `data` [INFO] [stdout] --> src/data_processing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { 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(data: Vec, predicate: fn(T) -> bool) -> Vec { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [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, order: Order) -> Vec { 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, order: Order) -> Vec { 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: 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, order: Order) -> Vec { 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::::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::::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.21s [INFO] running `Command { std: "docker" "inspect" "3f3cb0c5d096803cd70fa2208b19165416a775b471ae29313ba7c1d9bf24ff0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f3cb0c5d096803cd70fa2208b19165416a775b471ae29313ba7c1d9bf24ff0d", kill_on_drop: false }` [INFO] [stdout] 3f3cb0c5d096803cd70fa2208b19165416a775b471ae29313ba7c1d9bf24ff0d