error[E0310]: the associated type `

::Error` may not live long enough --> $DIR/sod_service_chain.rs:31:5 | LL | / pub fn next>( ... | LL | | self, 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:5 | LL | / pub fn next>( ... | LL | | self, 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:40: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:40: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:5 | LL | / pub fn next>( ... | LL | | self, 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 | = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` 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:5 | LL | / pub fn next>( ... | LL | | self, 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 | = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` help: consider adding an explicit lifetime bound | LL | ) -> ServiceChainBuilder, NS> where ::Error: 'static { | ++++++++++++++++++++++++++++++++++++ error: aborting due to 6 previous errors For more information about this error, try `rustc --explain E0310`.