error[E0310]: the associated type `

::Error` may not live long enough --> $DIR/sod_service_chain.rs:31:10 | LL | ) -> ServiceChainBuilder, NS> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | the associated type `

::Error` must be valid for the static lifetime... | ...so that the type `

::Error` will meet its required lifetime bounds | help: consider adding an explicit lifetime bound | LL | ) -> ServiceChainBuilder, NS> where

::Error: 'static { | ++++++++++++++++++++++++++++++++++++ error[E0310]: the associated type `::Error` may not live long enough --> $DIR/sod_service_chain.rs:31:10 | LL | ) -> ServiceChainBuilder, NS> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | the associated type `::Error` must be valid for the static lifetime... | ...so that the type `::Error` will meet its required lifetime bounds | help: consider adding an explicit lifetime bound | LL | ) -> ServiceChainBuilder, NS> where ::Error: 'static { | ++++++++++++++++++++++++++++++++++++ error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0310`.