[INFO] cloning repository https://github.com/drsmile1001/rust-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drsmile1001/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrsmile1001%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrsmile1001%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9235633e9ea8b2c0edb9d62012a3a76b10d8c486 [INFO] building drsmile1001/rust-practice against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrsmile1001%2Frust-practice" "/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/drsmile1001/rust-practice on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drsmile1001/rust-practice [INFO] finished tweaking git repo https://github.com/drsmile1001/rust-practice [INFO] tweaked toml for git repo https://github.com/drsmile1001/rust-practice written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drsmile1001/rust-practice 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e265e1545b406395db2889019da516eec7e6146f6d9d9eb838a11d27a8b3537 [INFO] running `Command { std: "docker" "start" "-a" "1e265e1545b406395db2889019da516eec7e6146f6d9d9eb838a11d27a8b3537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e265e1545b406395db2889019da516eec7e6146f6d9d9eb838a11d27a8b3537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e265e1545b406395db2889019da516eec7e6146f6d9d9eb838a11d27a8b3537", kill_on_drop: false }` [INFO] [stdout] 1e265e1545b406395db2889019da516eec7e6146f6d9d9eb838a11d27a8b3537 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c080f7b28b3b0695ee1d792220f8ac7ffb21e61524736a5e50ef922abb31e1d [INFO] running `Command { std: "docker" "start" "-a" "3c080f7b28b3b0695ee1d792220f8ac7ffb21e61524736a5e50ef922abb31e1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling greeting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `employee_management::run` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use employee_management::run; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_string` [INFO] [stdout] --> src/define_enum.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let some_string = Some("hello"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/recoverable_errors.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/define_enum.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/define_enum.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 9 | fn call(&self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/define_enum.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/employee_management.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fibonacci_number.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fibonacci_number` is never used [INFO] [stdout] --> src/fibonacci_number.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_fibonacci_number(s: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_waitlist` is never used [INFO] [stdout] --> src/front_of_house.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_to_waitlist() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/front_of_house.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/front_of_house.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn take_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/front_of_house.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/front_of_house.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retweet` is never read [INFO] [stdout] --> src/generics_practice.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Tweet { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess_number` is never used [INFO] [stdout] --> src/guess_number.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/guess_number/guess.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/guess_number/guess.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Guess { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(value: i32) -> Guess { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/hashmap_practice.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UsState` is never used [INFO] [stdout] --> src/match_coins.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/match_coins.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/match_coins.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/match_coins.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/number_set.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/pig_latin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/recoverable_errors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/recoverable_errors.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/string_practice.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/temperature_converter.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fahrenheit_to_celsius` is never used [INFO] [stdout] --> src/temperature_converter.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn fahrenheit_to_celsius(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `celsius_to_fahrenheit` is never used [INFO] [stdout] --> src/temperature_converter.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn celsius_to_fahrenheit(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "3c080f7b28b3b0695ee1d792220f8ac7ffb21e61524736a5e50ef922abb31e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c080f7b28b3b0695ee1d792220f8ac7ffb21e61524736a5e50ef922abb31e1d", kill_on_drop: false }` [INFO] [stdout] 3c080f7b28b3b0695ee1d792220f8ac7ffb21e61524736a5e50ef922abb31e1d [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbc690e1055d13af3b75d86838c2388afda96eab8f5accc99f558519eebb469a [INFO] running `Command { std: "docker" "start" "-a" "dbc690e1055d13af3b75d86838c2388afda96eab8f5accc99f558519eebb469a", kill_on_drop: false }` [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/lib.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling greeting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `employee_management::run` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use employee_management::run; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_string` [INFO] [stdout] --> src/define_enum.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let some_string = Some("hello"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/recoverable_errors.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/define_enum.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/define_enum.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 9 | fn call(&self) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/define_enum.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/employee_management.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/fibonacci_number.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fibonacci_number` is never used [INFO] [stdout] --> src/fibonacci_number.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_fibonacci_number(s: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_waitlist` is never used [INFO] [stdout] --> src/front_of_house.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_to_waitlist() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/front_of_house.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/front_of_house.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn take_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/front_of_house.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/front_of_house.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retweet` is never read [INFO] [stdout] --> src/generics_practice.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Tweet { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess_number` is never used [INFO] [stdout] --> src/guess_number.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn guess_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/guess_number/guess.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/guess_number/guess.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Guess { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 6 | pub fn new(value: i32) -> Guess { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/hashmap_practice.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UsState` is never used [INFO] [stdout] --> src/match_coins.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/match_coins.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/match_coins.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/match_coins.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/number_set.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/pig_latin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/recoverable_errors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/recoverable_errors.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/string_practice.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/temperature_converter.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fahrenheit_to_celsius` is never used [INFO] [stdout] --> src/temperature_converter.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn fahrenheit_to_celsius(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `celsius_to_fahrenheit` is never used [INFO] [stdout] --> src/temperature_converter.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn celsius_to_fahrenheit(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "dbc690e1055d13af3b75d86838c2388afda96eab8f5accc99f558519eebb469a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc690e1055d13af3b75d86838c2388afda96eab8f5accc99f558519eebb469a", kill_on_drop: false }` [INFO] [stdout] dbc690e1055d13af3b75d86838c2388afda96eab8f5accc99f558519eebb469a