[INFO] updating cached repository https://github.com/RajivKurien/Dining_Philosophers [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bdaba33bcf72c35cb9f9a7b7f54acc982ebc5f1d [INFO] testing RajivKurien/Dining_Philosophers against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FRajivKurien%2FDining_Philosophers" "work/builds/worker-10/source"` [INFO] [stderr] Cloning into 'work/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RajivKurien/Dining_Philosophers on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/RajivKurien/Dining_Philosophers [INFO] finished tweaking git repo https://github.com/RajivKurien/Dining_Philosophers [INFO] tweaked toml for git repo https://github.com/RajivKurien/Dining_Philosophers written to work/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/RajivKurien/Dining_Philosophers already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 500cdb22c818d8edd3f61e91e74235a64985aae5745a3654ef94d7979a0182b9 [INFO] running `"docker" "start" "-a" "500cdb22c818d8edd3f61e91e74235a64985aae5745a3654ef94d7979a0182b9"` [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling Dining_Philosophers v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/eating.rs:34:37 [INFO] [stderr] | [INFO] [stderr] 34 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::fork::Fork` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::dining_philosophers::fork::Fork; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/right_thinking.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | sm: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(id: usize, sm: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/state_machine.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | fn transition(&mut self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:78:37 [INFO] [stderr] | [INFO] [stderr] 78 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table_interaction` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(table_interaction: TableInteraction) -> Thinking { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_table_interaction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `drop_right` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/eating.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | fn drop_right(&mut self, table_interaction: TableInteraction) -> LeftThinking { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(left_fork: Fork, table_interaction: TableInteraction) -> LeftThinking { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `history` [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | fn history(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `id` [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | fn id(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `Dining_Philosophers` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `dining_philosophers` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.15s [INFO] running `"docker" "inspect" "500cdb22c818d8edd3f61e91e74235a64985aae5745a3654ef94d7979a0182b9"` [INFO] running `"docker" "rm" "-f" "500cdb22c818d8edd3f61e91e74235a64985aae5745a3654ef94d7979a0182b9"` [INFO] [stdout] 500cdb22c818d8edd3f61e91e74235a64985aae5745a3654ef94d7979a0182b9 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 68a501e6d20f3407ed1f7584ef3792acc4c48cb3651703b84571afb9f5c549c9 [INFO] running `"docker" "start" "-a" "68a501e6d20f3407ed1f7584ef3792acc4c48cb3651703b84571afb9f5c549c9"` [INFO] [stderr] Compiling Dining_Philosophers v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/eating.rs:34:37 [INFO] [stderr] | [INFO] [stderr] 34 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/eating.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | let mut unit: Box = Box::new(Eating::new(left_fork, right_fork, table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/eating.rs:110:27 [INFO] [stderr] | [INFO] [stderr] 110 | let mut unit: Box = Box::new(Eating::new(left_fork, right_fork, table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::fork::Fork` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::dining_philosophers::fork::Fork; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::fork::Fork` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | use crate::dining_philosophers::fork::Fork; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | use crate::dining_philosophers::resource_hierarchy_impl::left_thinking::LeftThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | use crate::dining_philosophers::resource_hierarchy_impl::right_thinking::RightThinking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | let mut unit: Box = Box::new(LeftThinking::new(fork, table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:109:27 [INFO] [stderr] | [INFO] [stderr] 109 | let mut unit: Box = Box::new(LeftThinking::new(fork.take().unwrap(), table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/left_thinking.rs:120:27 [INFO] [stderr] | [INFO] [stderr] 120 | let mut unit: Box = Box::new(LeftThinking::new(fork.take().unwrap(), table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/right_thinking.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/right_thinking.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | let mut unit: Box = Box::new(RightThinking::new(fork, table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/right_thinking.rs:106:27 [INFO] [stderr] | [INFO] [stderr] 106 | let mut unit: Box = Box::new(RightThinking::new(fork.take().unwrap(), table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/right_thinking.rs:117:27 [INFO] [stderr] | [INFO] [stderr] 117 | let mut unit: Box = Box::new(RightThinking::new(fork, table_interaction)); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | sm: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(id: usize, sm: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/philosopher.rs:97:41 [INFO] [stderr] | [INFO] [stderr] 97 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dining_philosophers/philosopher/state_machine.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | fn transition(&mut self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:78:37 [INFO] [stderr] | [INFO] [stderr] 78 | fn transition(&mut self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMachine + Send` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table_interaction` [INFO] [stderr] --> src/dining_philosophers/resource_hierarchy_impl/thinking.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(table_interaction: TableInteraction) -> Thinking { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_table_interaction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `Dining_Philosophers` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `dining_philosophers` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `"docker" "inspect" "68a501e6d20f3407ed1f7584ef3792acc4c48cb3651703b84571afb9f5c549c9"` [INFO] running `"docker" "rm" "-f" "68a501e6d20f3407ed1f7584ef3792acc4c48cb3651703b84571afb9f5c549c9"` [INFO] [stdout] 68a501e6d20f3407ed1f7584ef3792acc4c48cb3651703b84571afb9f5c549c9 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] ce15227f766d6272aa70a3a45231b9048cdfaaab059be7bee926afc9000dde6d [INFO] running `"docker" "start" "-a" "ce15227f766d6272aa70a3a45231b9048cdfaaab059be7bee926afc9000dde6d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/Dining_Philosophers-24975cc43a3d5ae9 [INFO] [stdout] [INFO] [stdout] running 54 tests [INFO] [stdout] test dining_philosophers::analysis::tests::calculate_percentage_thinking_with_eating ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::calculate_percentage_thinking ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::calculate_percentage_thinking_with_equal_eating ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::average_score_over_several_runs ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::calculate_score_based_on_percentage ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::intermediate_score_for_a_run ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::min_score_a_run ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::max_average_score_over_several_runs ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::min_score_of_zero_when_zero_percent ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::min_score_of_zero_when_hundred_percent ... ok [INFO] [stdout] test dining_philosophers::philosopher::philosopher::tests::has_state ... ok [INFO] [stdout] test dining_philosophers::philosopher::philosopher::tests::has_id ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::max_score_for_a_run ... ok [INFO] [stdout] test dining_philosophers::philosopher::philosopher::tests::write_history ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::max_score_of_one_when_fifty_percent ... ok [INFO] [stdout] test dining_philosophers::philosopher::philosopher::tests::keeps_a_record_of_state_transitions ... ok [INFO] [stdout] test dining_philosophers::analysis::tests::min_average_score_over_several_runs ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::acts_to_return_left_fork ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::changes_to_right_thinking ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::eating_drop_left_becomes_right_thinking ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::changes_to_eating_when_right_fork_available ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::take_right_becomes_eating ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::state_is_left_thinking ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::changes_to_eating_when_left_fork_available ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::state_is_eating ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::eating_drop_right_becomes_left_thinking ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::thinking::tests::changes_to_left_when_left_fork_available ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::thinking::tests::changes_to_thinking_when_left_fork_is_not_available ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::right_thinking_take_left_becomes_eating ... ok [INFO] [stdout] test dining_philosophers::table::tests::cannot_get_fork_of_index_equal_to_table_size ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::state_is_right_thinking ... ok [INFO] [stdout] test dining_philosophers::table::tests::cannot_get_fork_of_index_larger_than_table_size ... ok [INFO] [stdout] test dining_philosophers::table::tests::construct_table ... ok [INFO] [stdout] test dining_philosophers::table::tests::cannot_get_fork_when_in_use ... ok [INFO] [stdout] test dining_philosophers::table::tests::get_fork_by_position ... ok [INFO] [stdout] test dining_philosophers::table::tests::return_fork_to_table ... ok [INFO] [stdout] test dining_philosophers::table::tests::table_interaction_cannot_get_same_fork ... ok [INFO] [stdout] test dining_philosophers::table::tests::table_interaction_get_adjacent_fork ... ok [INFO] [stdout] test dining_philosophers::table::tests::table_interaction_returns_adjacent_fork ... ok [INFO] [stdout] test dining_philosophers::table::tests::table_interaction_returns_fork ... ok [INFO] [stdout] test dining_philosophers::table::tests::table_interaction_get_fork ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::drop_left_becomes_thinking ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::changes_to_thinking_when_right_fork_is_not_available ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::right_thinking_drop_right_becomes_thinking ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::returns_left_fork_when_right_fork_is_not_available ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::returns_right_fork_when_left_fork_is_not_available ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::changes_to_thinking_when_left_fork_is_not_available ... FAILED [INFO] [stdout] test dining_philosophers::table::tests::return_fork_panics_when_position_larger_than_table_size ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::thinking::tests::state_is_thinking ... FAILED [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::right_thinking::tests::cannot_call_transition_twice_on_same_instance ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::thinking::tests::cannot_call_transition_twice_on_same_instance ... ok [INFO] [stdout] test dining_philosophers::table::tests::cannot_construct_table_with_size_less_than_one ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::left_thinking::tests::cannot_call_transition_twice_on_same_instance ... ok [INFO] [stdout] test dining_philosophers::resource_hierarchy_impl::eating::tests::cannot_call_transition_twice_on_same_instance ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::left_thinking::tests::drop_left_becomes_thinking stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::left_thinking::tests::drop_left_becomes_thinking' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::left_thinking::tests::changes_to_thinking_when_right_fork_is_not_available stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::left_thinking::tests::changes_to_thinking_when_right_fork_is_not_available' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::right_thinking::tests::right_thinking_drop_right_becomes_thinking stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::right_thinking::tests::right_thinking_drop_right_becomes_thinking' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::left_thinking::tests::returns_left_fork_when_right_fork_is_not_available stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::left_thinking::tests::returns_left_fork_when_right_fork_is_not_available' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::right_thinking::tests::returns_right_fork_when_left_fork_is_not_available stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::right_thinking::tests::returns_right_fork_when_left_fork_is_not_available' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::right_thinking::tests::changes_to_thinking_when_left_fork_is_not_available stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::right_thinking::tests::changes_to_thinking_when_left_fork_is_not_available' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] ---- dining_philosophers::resource_hierarchy_impl::thinking::tests::state_is_thinking stdout ---- [INFO] [stdout] thread 'dining_philosophers::resource_hierarchy_impl::thinking::tests::state_is_thinking' panicked at 'not yet implemented', src/dining_philosophers/resource_hierarchy_impl/thinking.rs:14:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::left_thinking::tests::changes_to_thinking_when_right_fork_is_not_available [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::left_thinking::tests::drop_left_becomes_thinking [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::left_thinking::tests::returns_left_fork_when_right_fork_is_not_available [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::right_thinking::tests::changes_to_thinking_when_left_fork_is_not_available [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::right_thinking::tests::returns_right_fork_when_left_fork_is_not_available [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::right_thinking::tests::right_thinking_drop_right_becomes_thinking [INFO] [stdout] dining_philosophers::resource_hierarchy_impl::thinking::tests::state_is_thinking [INFO] [stdout] [INFO] [stdout] test result: FAILED. 47 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin Dining_Philosophers' [INFO] running `"docker" "inspect" "ce15227f766d6272aa70a3a45231b9048cdfaaab059be7bee926afc9000dde6d"` [INFO] running `"docker" "rm" "-f" "ce15227f766d6272aa70a3a45231b9048cdfaaab059be7bee926afc9000dde6d"` [INFO] [stdout] ce15227f766d6272aa70a3a45231b9048cdfaaab059be7bee926afc9000dde6d