[INFO] cloning repository https://github.com/Grubba27/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grubba27/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrubba27%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrubba27%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9861ed564acbc5d5b54a7063c22d2ca36c291890 [INFO] building Grubba27/hello-rust against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrubba27%2Fhello-rust" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grubba27/hello-rust on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grubba27/hello-rust [INFO] finished tweaking git repo https://github.com/Grubba27/hello-rust [INFO] tweaked toml for git repo https://github.com/Grubba27/hello-rust written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/Grubba27/hello-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ad65d48e26fa4b6dff7a432f8273b485349328ad24eec073c005ce729b041df [INFO] running `Command { std: "docker" "start" "-a" "4ad65d48e26fa4b6dff7a432f8273b485349328ad24eec073c005ce729b041df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ad65d48e26fa4b6dff7a432f8273b485349328ad24eec073c005ce729b041df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad65d48e26fa4b6dff7a432f8273b485349328ad24eec073c005ce729b041df", kill_on_drop: false }` [INFO] [stdout] 4ad65d48e26fa4b6dff7a432f8273b485349328ad24eec073c005ce729b041df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cfe45bceb7c9689e9041c08fa849bde5268b6232836f254c14324b09b3758df [INFO] running `Command { std: "docker" "start" "-a" "2cfe45bceb7c9689e9041c08fa849bde5268b6232836f254c14324b09b3758df", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::core::delivery_tax` [INFO] [stdout] --> src/tests/core_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::core::delivery_tax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod core_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tax::tax::blocked_in_source_tax` [INFO] [stdout] --> src/tests/tax_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tax::tax::blocked_in_source_tax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod tax_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `calculate_big_salary`, `calculate_medium_salary`, `calculate_small_salary`, `curry_function` [INFO] [stdout] --> src/tests/fp_test.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::fp::{calculate_big_salary, calculate_medium_salary, calculate_small_salary, curry_function}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod fp_test; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::problems::biggest_sum` [INFO] [stdout] --> src/tests/problems_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::problems::problems::biggest_sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod problems_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::problems::get_nested_values` [INFO] [stdout] --> src/tests/problems_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::problems::problems::get_nested_values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod problems_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::problems::problems::find_digits` [INFO] [stdout] --> src/tests/problems_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::problems::problems::find_digits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod problems_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `builder`, `factory_method`, `singleton` [INFO] [stdout] --> src/tests/patterns/creational.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::creational::{singleton, factory_method, builder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core` [INFO] [stdout] --> src/tests/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Boat as BoatType`, `Car as CarType`, `Plane as PlaneType` [INFO] [stdout] --> src/patterns/creational/factory_method.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::creational::factory_method::VehicleTypes::{Car as CarType, Plane as PlaneType, Boat as BoatType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person_type` [INFO] [stdout] --> src/fp/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn big_hard_takes_arguments_fn(person_type: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_person_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_ten_percent` [INFO] [stdout] --> src/core.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_ten_percent(value_of_account: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delivery_tax` [INFO] [stdout] --> src/core.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn delivery_tax(money: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blocked_in_source_tax` [INFO] [stdout] --> src/tax/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn blocked_in_source_tax(val: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `big_hard_fn` [INFO] [stdout] --> src/fp/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn big_hard_fn() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `other_big_hard_fn` [INFO] [stdout] --> src/fp/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn other_big_hard_fn() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `http_request` [INFO] [stdout] --> src/fp/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn http_request() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `very_big_hard_fn` [INFO] [stdout] --> src/fp/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn very_big_hard_fn(function_calulate: f32, other_fn: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `big_hard_takes_arguments_fn` [INFO] [stdout] --> src/fp/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn big_hard_takes_arguments_fn(person_type: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_salary_imposts_plus_transactions` [INFO] [stdout] --> src/fp/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn calculate_salary_imposts_plus_transactions(salary: f64, person_type: &str, cost_per_transactions: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_small_salary` [INFO] [stdout] --> src/fp/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn calculate_small_salary() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_medium_salary` [INFO] [stdout] --> src/fp/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn calculate_medium_salary() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_big_salary` [INFO] [stdout] --> src/fp/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn calculate_big_salary() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `curry_function` [INFO] [stdout] --> src/fp/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn curry_function(n: i32) -> impl Fn(i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `biggest_sum` [INFO] [stdout] --> src/problems/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn biggest_sum(nums: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_nested_values` [INFO] [stdout] --> src/problems/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_nested_values(strs: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_digits` [INFO] [stdout] --> src/problems/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn find_digits(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_singleton` [INFO] [stdout] --> src/patterns/creational/singleton.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_singleton() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_singleton` [INFO] [stdout] --> src/patterns/creational/singleton.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn set_singleton(value: &str, singleton_instance: &Mutex) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `VehicleTypes` [INFO] [stdout] --> src/patterns/creational/factory_method.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum VehicleTypes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShapeFactory` [INFO] [stdout] --> src/patterns/creational/factory_method.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ShapeFactory; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_vehicle` [INFO] [stdout] --> src/patterns/creational/factory_method.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new_vehicle(v: &VehicleTypes) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/patterns/creational/builder.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn create() -> UsableBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_case_one_part` [INFO] [stdout] --> src/patterns/creational/builder.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn use_case_one_part() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_case_many_parts` [INFO] [stdout] --> src/patterns/creational/builder.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn use_case_many_parts() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "2cfe45bceb7c9689e9041c08fa849bde5268b6232836f254c14324b09b3758df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfe45bceb7c9689e9041c08fa849bde5268b6232836f254c14324b09b3758df", kill_on_drop: false }` [INFO] [stdout] 2cfe45bceb7c9689e9041c08fa849bde5268b6232836f254c14324b09b3758df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e23399055d60481e4b96b627813f31907a9ec0428b7d98e52a75dda57638055f [INFO] running `Command { std: "docker" "start" "-a" "e23399055d60481e4b96b627813f31907a9ec0428b7d98e52a75dda57638055f", kill_on_drop: false }` [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builder` [INFO] [stdout] --> src/tests/patterns/creational.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::creational::{singleton, factory_method, builder}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core` [INFO] [stdout] --> src/tests/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Boat as BoatType`, `Car as CarType`, `Plane as PlaneType` [INFO] [stdout] --> src/patterns/creational/factory_method.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::creational::factory_method::VehicleTypes::{Car as CarType, Plane as PlaneType, Boat as BoatType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `person_type` [INFO] [stdout] --> src/fp/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn big_hard_takes_arguments_fn(person_type: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_person_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_ten_percent` [INFO] [stdout] --> src/core.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_ten_percent(value_of_account: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_rust-243852dd2a766c1b) [INFO] running `Command { std: "docker" "inspect" "e23399055d60481e4b96b627813f31907a9ec0428b7d98e52a75dda57638055f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23399055d60481e4b96b627813f31907a9ec0428b7d98e52a75dda57638055f", kill_on_drop: false }` [INFO] [stdout] e23399055d60481e4b96b627813f31907a9ec0428b7d98e52a75dda57638055f