[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] testing Grubba27/hello-rust against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrubba27%2Fhello-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Grubba27/hello-rust on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Grubba27/hello-rust 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b5352889e4aa193d3df2fc58dc5a5c4377843ebd58b9a83e869e052061267a [INFO] running `Command { std: "docker" "start" "-a" "18b5352889e4aa193d3df2fc58dc5a5c4377843ebd58b9a83e869e052061267a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b5352889e4aa193d3df2fc58dc5a5c4377843ebd58b9a83e869e052061267a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b5352889e4aa193d3df2fc58dc5a5c4377843ebd58b9a83e869e052061267a", kill_on_drop: false }` [INFO] [stdout] 18b5352889e4aa193d3df2fc58dc5a5c4377843ebd58b9a83e869e052061267a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66f69438af5f260fa02512e645eec8c9717178ff247b3b1503acc34ed40f8a7b [INFO] running `Command { std: "docker" "start" "-a" "66f69438af5f260fa02512e645eec8c9717178ff247b3b1503acc34ed40f8a7b", kill_on_drop: false }` [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] help: if this is a test module, 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] = note: `#[warn(unused_imports)]` on by default [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: if this is a test module, 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`, and `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: if this is a test module, 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: if this is a test module, 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: if this is a test module, 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: if this is a test module, 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`, and `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: if this is a test module, 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`, and `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 `get_ten_percent` is never used [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 `delivery_tax` is never used [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 `blocked_in_source_tax` is never used [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 `big_hard_fn` is never used [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 `other_big_hard_fn` is never used [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 `http_request` is never used [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 `very_big_hard_fn` is never used [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 `big_hard_takes_arguments_fn` is never used [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 `calculate_salary_imposts_plus_transactions` is never used [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 `calculate_small_salary` is never used [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 `calculate_medium_salary` is never used [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 `calculate_big_salary` is never used [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 `curry_function` is never used [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 `biggest_sum` is never used [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 `get_nested_values` is never used [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 `find_digits` is never used [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: struct `Unique` is never constructed [INFO] [stdout] --> src/patterns/creational/singleton.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Unique { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_singleton` is never used [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 `set_singleton` is never used [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: trait `Vehicle` is never used [INFO] [stdout] --> src/patterns/creational/factory_method.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VehicleTypes` is never used [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 `Car` is never constructed [INFO] [stdout] --> src/patterns/creational/factory_method.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Car {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Boat` is never constructed [INFO] [stdout] --> src/patterns/creational/factory_method.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Boat {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plane` is never constructed [INFO] [stdout] --> src/patterns/creational/factory_method.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Plane {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeFactory` is never constructed [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 `new_vehicle` is never used [INFO] [stdout] --> src/patterns/creational/factory_method.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl ShapeFactory { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 44 | pub fn new_vehicle(v: &VehicleTypes) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexObject` is never constructed [INFO] [stdout] --> src/patterns/creational/builder.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct ComplexObject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/patterns/creational/builder.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ComplexObject { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 8 | fn create() -> ComplexObject { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Builder` is never used [INFO] [stdout] --> src/patterns/creational/builder.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Builder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UsableBuilder` is never constructed [INFO] [stdout] --> src/patterns/creational/builder.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct UsableBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/patterns/creational/builder.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl UsableBuilder { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 25 | fn create() -> UsableBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_case_one_part` is never used [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 `use_case_many_parts` is never used [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/patterns/creational/singleton.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | UNIQ.as_mut_ptr().write(Mutex::new(Unique { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/patterns/creational/singleton.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { &*UNIQ.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "66f69438af5f260fa02512e645eec8c9717178ff247b3b1503acc34ed40f8a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f69438af5f260fa02512e645eec8c9717178ff247b3b1503acc34ed40f8a7b", kill_on_drop: false }` [INFO] [stdout] 66f69438af5f260fa02512e645eec8c9717178ff247b3b1503acc34ed40f8a7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2feac08dd2dbc599a92721999f3a58f16c36625b69269d7a1c9c5ce581311a6 [INFO] running `Command { std: "docker" "start" "-a" "f2feac08dd2dbc599a92721999f3a58f16c36625b69269d7a1c9c5ce581311a6", 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`, and `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 `get_ten_percent` is never used [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/patterns/creational/singleton.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | UNIQ.as_mut_ptr().write(Mutex::new(Unique { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/patterns/creational/singleton.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { &*UNIQ.as_ptr() } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "f2feac08dd2dbc599a92721999f3a58f16c36625b69269d7a1c9c5ce581311a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2feac08dd2dbc599a92721999f3a58f16c36625b69269d7a1c9c5ce581311a6", kill_on_drop: false }` [INFO] [stdout] f2feac08dd2dbc599a92721999f3a58f16c36625b69269d7a1c9c5ce581311a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5434f51a213218e8d5007f12944901d15f041c028752a5d7318e178cadb63a60 [INFO] running `Command { std: "docker" "start" "-a" "5434f51a213218e8d5007f12944901d15f041c028752a5d7318e178cadb63a60", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `builder` [INFO] [stderr] --> src/tests/patterns/creational.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::creational::{singleton, factory_method, builder}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core` [INFO] [stderr] --> src/tests/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::core; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Boat as BoatType`, `Car as CarType`, and `Plane as PlaneType` [INFO] [stderr] --> src/patterns/creational/factory_method.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::creational::factory_method::VehicleTypes::{Car as CarType, Plane as PlaneType, Boat as BoatType}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `person_type` [INFO] [stderr] --> src/fp/mod.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn big_hard_takes_arguments_fn(person_type: &str) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_person_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_ten_percent` is never used [INFO] [stderr] --> src/core.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn get_ten_percent(value_of_account: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/patterns/creational/singleton.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | UNIQ.as_mut_ptr().write(Mutex::new(Unique { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/patterns/creational/singleton.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | unsafe { &*UNIQ.as_ptr() } [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `hello-rust` (bin "hello-rust" test) generated 7 warnings (run `cargo fix --bin "hello-rust" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_rust-33346d0b2767c2d2) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test tests::core_test::core_test::tax_below_80_with_80_test ... ok [INFO] [stdout] test tests::core_test::core_test::tax_between_exact_test ... ok [INFO] [stdout] test tests::core_test::core_test::tax_between_normal_test ... ok [INFO] [stdout] test tests::core_test::core_test::tax_bigger_exact_test ... ok [INFO] [stdout] test tests::fp_test::fp_test::curring_test ... ok [INFO] [stdout] test tests::fp_test::fp_test::medium_salary_test ... ok [INFO] [stdout] test tests::fp_test::fp_test::small_salary_test ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::abstract_factory_create_boat ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::abstract_factory_create_car ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::abstract_factory_create_plane ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::builder_create_one_part_test ... ok [INFO] [stdout] test tests::fp_test::fp_test::big_salary_test ... ok [INFO] [stdout] test tests::core_test::core_test::tax_below_80_with_1_test ... ok [INFO] [stdout] test tests::core_test::core_test::tax_bigger_normal_test ... ok [INFO] [stdout] test tests::problems_test::problems_test::biggest_sum_test ... ok [INFO] [stdout] test tests::problems_test::problems_test::get_even_number_test ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::update_singleton_test ... ok [INFO] [stdout] test tests::tax_test::tax_text::money_below_1000_test_max ... ok [INFO] [stdout] test tests::problems_test::problems_test::get_nested_values_1_test ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::builder_create_many_parts_test ... ok [INFO] [stdout] test tests::tax_test::tax_text::tax_above_exact_test_max ... ok [INFO] [stdout] test tests::tax_test::tax_text::money_below_1000_test_min ... ok [INFO] [stdout] test tests::problems_test::problems_test::get_nested_values_2_test ... ok [INFO] [stdout] test tests::tax_test::tax_text::tax_above_exact_test_min ... ok [INFO] [stdout] test tests::patterns::creational::creational_test::get_singleton_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::patterns::creational::creational_test::get_singleton_test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::patterns::creational::creational_test::get_singleton_test' panicked at src/tests/patterns/creational.rs:14:9: [INFO] [stdout] assertion `left == right` failed: Created singleton should have the name global string [INFO] [stdout] left: "other" [INFO] [stdout] right: "Global string" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61ef5bf49c82 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61ef5bf49c82 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61ef5bf49c82 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61ef5bf49c82 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61ef5bf6fc23 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61ef5bf6fc23 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x61ef5bf46c03 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61ef5bf46c03 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61ef5bf49ad2 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61ef5bf4b1ec - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x61ef5bf4b042 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x61ef5bf130c4 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x61ef5bf130c4 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61ef5bf4bbcb - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x61ef5bf4bbcb - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x61ef5bf4b99a - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x61ef5bf4a179 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x61ef5bf4b62d - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x61ef5bf6d900 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x61ef5bf6dc93 - core::panicking::assert_failed_inner::hf0724fdfb0e16b9c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:427:23 [INFO] [stdout] 20: 0x61ef5bed3383 - core::panicking::assert_failed::he6e200c36daffe78 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x61ef5bed5f03 - hello_rust::tests::patterns::creational::creational_test::get_singleton_test::he2ac2bf9f9d369b3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/patterns/creational.rs:14:9 [INFO] [stdout] 22: 0x61ef5bed5d07 - hello_rust::tests::patterns::creational::creational_test::get_singleton_test::{{closure}}::h2429dd0f32067ed7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/patterns/creational.rs:11:28 [INFO] [stdout] 23: 0x61ef5becc696 - core::ops::function::FnOnce::call_once::ha4e6e58757dbf544 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61ef5bf1886b - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61ef5bf1886b - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x61ef5bf17a3e - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x61ef5bf17a3e - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x61ef5bf17a3e - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x61ef5bf17a3e - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x61ef5bf17a3e - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61ef5bf17a3e - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x61ef5bf17a3e - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x61ef5bedb634 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x61ef5bedb634 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x61ef5bedef2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61ef5bedef2a - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x61ef5bedef2a - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x61ef5bedef2a - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x61ef5bedef2a - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61ef5bedef2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61ef5bedef2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61ef5bf4eb27 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x61ef5bf4eb27 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x61ef5bf4eb27 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x774d6d578aa4 - [INFO] [stdout] 46: 0x774d6d605a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::patterns::creational::creational_test::get_singleton_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 24 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin hello-rust` [INFO] running `Command { std: "docker" "inspect" "5434f51a213218e8d5007f12944901d15f041c028752a5d7318e178cadb63a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5434f51a213218e8d5007f12944901d15f041c028752a5d7318e178cadb63a60", kill_on_drop: false }` [INFO] [stdout] 5434f51a213218e8d5007f12944901d15f041c028752a5d7318e178cadb63a60