Skip to content

Merge pull request #245 from bylerbk/configurable-client-timeout #236

Merge pull request #245 from bylerbk/configurable-client-timeout

Merge pull request #245 from bylerbk/configurable-client-timeout #236

Triggered via push October 21, 2024 20:02
Status Failure
Total duration 5m 48s
Artifacts

coverage.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 173 warnings
test
Process completed with exit code 1.
the `Err`-variant returned from this function is very large: thirtyfour/src/web_element.rs#L105
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/web_element.rs:105:67 | 105 | pub fn from_json(value: Value, handle: Arc<SessionHandle>) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/support.rs#L143
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/support.rs:143:37 | 143 | pub fn base64_decode(data: &str) -> WebDriverResult<Vec<u8>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L79
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:79:34 | 79 | pub fn get_elements(self) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L71
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:71:30 | 71 | pub fn elements(self) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L64
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:64:33 | 64 | pub fn get_element(self) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L58
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:58:29 | 58 | pub fn element(self) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L47
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:47:33 | 47 | pub fn convert<T>(&self) -> WebDriverResult<T> | ^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L200
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:200:58 | 200 | pub fn elements(self, handle: Arc<SessionHandle>) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L194
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:194:57 | 194 | pub fn element(self, handle: Arc<SessionHandle>) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L188
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:188:59 | 188 | pub fn value<T: serde::de::DeserializeOwned>(self) -> WebDriverResult<T> { | ^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L178
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:178:32 | 178 | pub fn value_json(self) -> WebDriverResult<Value> { | ^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/handle.rs#L67
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/handle.rs:67:10 | 67 | ) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/handle.rs#L57
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/handle.rs:57:10 | 57 | ) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/element_waiter.rs#L106
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/element_waiter.rs:106:25 | 106 | fn timeout(self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/conditions.rs#L18
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/conditions.rs:18:77 | 18 | pub(crate) fn negate(result: WebDriverResult<bool>, ignore_errors: bool) -> WebDriverResult<bool> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/conditions.rs#L10
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/conditions.rs:10:6 | 10 | ) -> WebDriverResult<bool> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/types.rs#L23
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/types.rs:23:30 | 23 | fn into_url(self) -> WebDriverResult<Url>; | ^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/config.rs#L123
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/config.rs:123:27 | 123 | pub fn build(self) -> WebDriverResult<WebDriverConfig> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L287
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:287:43 | 287 | pub fn unset_user_agent(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L282
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:282:56 | 282 | pub fn set_user_agent(&mut self, value: String) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L277
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:277:47 | 277 | pub fn unset_webdriver_port(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L272
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:272:57 | 272 | pub fn set_webdriver_port(&mut self, value: u16) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L267
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:267:46 | 267 | pub fn unset_load_strategy(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L262
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:262:59 | 262 | pub fn set_load_strategy(&mut self, value: String) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L257
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:257:41 | 257 | pub fn unset_log_file(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L216
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:216:43 | 216 | pub fn unset(&mut self, key: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L206
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:206:54 | 206 | pub fn set<T>(&mut self, key: &str, value: T) -> WebDriverResult<()> | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L33
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:33:56 | 33 | pub fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 115 | / firefox_arg_wrapper! { 116 | | headless => "-headless" 117 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `firefox_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L28
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:28:54 | 28 | pub fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 115 | / firefox_arg_wrapper! { 116 | | headless => "-headless" 117 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `firefox_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L106
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:106:45 | 106 | pub fn add_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L101
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:101:61 | 101 | pub fn set_encoded_profile(&mut self, profile: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L89
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:89:75 | 89 | pub fn set_preferences(&mut self, preferences: FirefoxPreferences) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L84
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:84:62 | 84 | pub fn set_firefox_binary(&mut self, start_cmd: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L79
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:79:61 | 79 | pub fn set_log_level(&mut self, log_level: LogLevel) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L68
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:68:32 | 68 | pub fn log_level(&self) -> WebDriverResult<LogLevel> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L63
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:63:10 | 63 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L275
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:275:44 | 275 | fn remove_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L242
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:242:10 | 242 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L224
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:224:73 | 224 | fn set_page_load_strategy(&mut self, strategy: PageLoadStrategy) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L218
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:218:37 | 218 | fn page_load_strategy(&self) -> WebDriverResult<PageLoadStrategy> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L203
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:203:79 | 203 | fn set_element_scroll_behaviour(&mut self, behaviour: ScrollBehaviour) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L197
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:197:80 | 197 | fn set_unexpected_alert_behaviour(&mut self, behaviour: AlertBehaviour) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L192
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:192:46 | 192 | fn set_proxy(&mut self, proxy: Proxy) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L187
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:187:55 | 187 | fn set_native_events(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L182
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:182:51 | 182 | fn set_rotatable(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L176
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:176:59 | 176 | fn accept_insecure_certs(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L171
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:171:54 | 171 | fn accept_ssl_certs(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L165
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:165:61 | 165 | fn set_web_storage_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L160
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:160:68 | 160 | fn set_browser_connection_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L155
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:155:67 | 155 | fn set_application_cache_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L150
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:150:66 | 150 | fn set_location_context_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L145
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:145:58 | 145 | fn set_database_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L140
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:140:60 | 140 | fn set_javascript_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L135
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:135:51 | 135 | fn set_platform(&mut self, platform: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L130
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:130:49 | 130 | fn set_version(&mut self, version: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L121
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:121:66 | 121 | fn set_base_capability<T>(&mut self, key: &str, value: T) -> WebDriverResult<()> | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L168
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:168:55 | 168 | fn remove_exclude_switch(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L158
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:158:52 | 158 | fn add_exclude_switch(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L146
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:146:56 | 146 | fn remove_extension(&mut self, crx_file: &Path) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L138
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:138:53 | 138 | fn add_extension(&mut self, crx_file: &Path) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L127
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:127:71 | 127 | fn remove_encoded_extension(&mut self, extension_base64: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L117
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:117:68 | 117 | fn add_encoded_extension(&mut self, extension_base64: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L107
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:107:10 | 107 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L85
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:85:41 | 85 | fn add_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L65
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:65:58 | 65 | fn set_debugger_address(&mut self, address: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L50
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:50:45 | 50 | fn set_binary(&mut self, path: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: `#[warn(clippy::result_large_err)]` on by default
the `Err`-variant returned from this function is very large: thirtyfour/src/web_element.rs#L118
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/web_element.rs:118:30 | 118 | pub fn to_json(&self) -> WebDriverResult<Value> { | ^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/web_element.rs#L105
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/web_element.rs:105:67 | 105 | pub fn from_json(value: Value, handle: Arc<SessionHandle>) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/support.rs#L143
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/support.rs:143:37 | 143 | pub fn base64_decode(data: &str) -> WebDriverResult<Vec<u8>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L79
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:79:34 | 79 | pub fn get_elements(self) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L71
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:71:30 | 71 | pub fn elements(self) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L64
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:64:33 | 64 | pub fn get_element(self) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L58
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:58:29 | 58 | pub fn element(self) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/scriptret.rs#L47
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/scriptret.rs:47:33 | 47 | pub fn convert<T>(&self) -> WebDriverResult<T> | ^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L200
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:200:58 | 200 | pub fn elements(self, handle: Arc<SessionHandle>) -> WebDriverResult<Vec<WebElement>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L194
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:194:57 | 194 | pub fn element(self, handle: Arc<SessionHandle>) -> WebDriverResult<WebElement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L188
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:188:59 | 188 | pub fn value<T: serde::de::DeserializeOwned>(self) -> WebDriverResult<T> { | ^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/http.rs#L178
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/http.rs:178:32 | 178 | pub fn value_json(self) -> WebDriverResult<Value> { | ^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/handle.rs#L67
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/handle.rs:67:10 | 67 | ) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/session/handle.rs#L57
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/session/handle.rs:57:10 | 57 | ) -> WebDriverResult<Self> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/element_waiter.rs#L106
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/element_waiter.rs:106:25 | 106 | fn timeout(self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/conditions.rs#L18
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/conditions.rs:18:77 | 18 | pub(crate) fn negate(result: WebDriverResult<bool>, ignore_errors: bool) -> WebDriverResult<bool> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/extensions/query/conditions.rs#L10
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/extensions/query/conditions.rs:10:6 | 10 | ) -> WebDriverResult<bool> { | ^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L287
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:287:43 | 287 | pub fn unset_user_agent(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L282
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:282:56 | 282 | pub fn set_user_agent(&mut self, value: String) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L277
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:277:47 | 277 | pub fn unset_webdriver_port(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L272
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:272:57 | 272 | pub fn set_webdriver_port(&mut self, value: u16) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L267
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:267:46 | 267 | pub fn unset_load_strategy(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L262
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:262:59 | 262 | pub fn set_load_strategy(&mut self, value: String) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L257
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:257:41 | 257 | pub fn unset_log_file(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L252
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:252:54 | 252 | pub fn set_log_file(&mut self, value: String) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L247
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:247:43 | 247 | pub fn unset_log_driver(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L242
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:242:73 | 242 | pub fn set_log_driver(&mut self, value: FirefoxProfileLogDriver) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L237
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:237:56 | 237 | pub fn unset_assume_untrusted_issuer(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L232
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:232:67 | 232 | pub fn set_assume_untrusted_issuer(&mut self, value: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L227
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:227:55 | 227 | pub fn unset_accept_untrusted_certs(&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L222
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:222:66 | 222 | pub fn set_accept_untrusted_certs(&mut self, value: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L216
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:216:43 | 216 | pub fn unset(&mut self, key: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L206
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:206:54 | 206 | pub fn set<T>(&mut self, key: &str, value: T) -> WebDriverResult<()> | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L33
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:33:56 | 33 | pub fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 115 | / firefox_arg_wrapper! { 116 | | headless => "-headless" 117 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `firefox_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L28
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:28:54 | 28 | pub fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 115 | / firefox_arg_wrapper! { 116 | | headless => "-headless" 117 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `firefox_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L106
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:106:45 | 106 | pub fn add_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L101
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:101:61 | 101 | pub fn set_encoded_profile(&mut self, profile: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L89
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:89:75 | 89 | pub fn set_preferences(&mut self, preferences: FirefoxPreferences) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L84
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:84:62 | 84 | pub fn set_firefox_binary(&mut self, start_cmd: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L79
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:79:61 | 79 | pub fn set_log_level(&mut self, log_level: LogLevel) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L68
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:68:32 | 68 | pub fn log_level(&self) -> WebDriverResult<LogLevel> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/firefox.rs#L63
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/firefox.rs:63:10 | 63 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L275
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:275:44 | 275 | fn remove_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L242
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:242:10 | 242 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L224
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:224:73 | 224 | fn set_page_load_strategy(&mut self, strategy: PageLoadStrategy) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L218
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:218:37 | 218 | fn page_load_strategy(&self) -> WebDriverResult<PageLoadStrategy> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L203
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:203:79 | 203 | fn set_element_scroll_behaviour(&mut self, behaviour: ScrollBehaviour) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L197
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:197:80 | 197 | fn set_unexpected_alert_behaviour(&mut self, behaviour: AlertBehaviour) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L192
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:192:46 | 192 | fn set_proxy(&mut self, proxy: Proxy) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L187
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:187:55 | 187 | fn set_native_events(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L182
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:182:51 | 182 | fn set_rotatable(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L176
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:176:59 | 176 | fn accept_insecure_certs(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L171
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:171:54 | 171 | fn accept_ssl_certs(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L165
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:165:61 | 165 | fn set_web_storage_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L160
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:160:68 | 160 | fn set_browser_connection_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L155
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:155:67 | 155 | fn set_application_cache_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L150
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:150:66 | 150 | fn set_location_context_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L145
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:145:58 | 145 | fn set_database_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L140
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:140:60 | 140 | fn set_javascript_enabled(&mut self, enabled: bool) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L135
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:135:51 | 135 | fn set_platform(&mut self, platform: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L130
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:130:49 | 130 | fn set_version(&mut self, version: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/desiredcapabilities.rs#L121
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/desiredcapabilities.rs:121:66 | 121 | fn set_base_capability<T>(&mut self, key: &str, value: T) -> WebDriverResult<()> | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L21
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:21:52 | 21 | fn [<unset_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L16
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:16:50 | 16 | fn [<set_ $fname>](&mut self) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ ... 178 | / chromium_arg_wrapper! { 179 | | headless => "--headless", 180 | | disable_web_security => "--disable-web-security", 181 | | ignore_certificate_errors => "--ignore-certificate-errors", ... | 185 | | disable_local_storage => "--disable-local-storage" 186 | | } | |_____- in this macro invocation | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: this warning originates in the macro `chromium_arg_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info)
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L168
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:168:55 | 168 | fn remove_exclude_switch(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L158
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:158:52 | 158 | fn add_exclude_switch(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L146
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:146:56 | 146 | fn remove_extension(&mut self, crx_file: &Path) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L138
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:138:53 | 138 | fn add_extension(&mut self, crx_file: &Path) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L127
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:127:71 | 127 | fn remove_encoded_extension(&mut self, extension_base64: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L117
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:117:68 | 117 | fn add_encoded_extension(&mut self, extension_base64: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L107
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:107:10 | 107 | ) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L85
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:85:41 | 85 | fn add_arg(&mut self, arg: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L65
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:65:58 | 65 | fn set_debugger_address(&mut self, address: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
the `Err`-variant returned from this function is very large: thirtyfour/src/common/capabilities/chromium.rs#L50
warning: the `Err`-variant returned from this function is very large --> thirtyfour/src/common/capabilities/chromium.rs:50:45 | 50 | fn set_binary(&mut self, path: &str) -> WebDriverResult<()> { | ^^^^^^^^^^^^^^^^^^^ | ::: thirtyfour/src/error.rs:137:5 | 137 | NotInSpec(WebDriverErrorInfo), | ----------------------------- the largest variant contains at least 176 bytes 138 | #[error("The click event was intercepted by another element: {0}")] 139 | ElementClickIntercepted(WebDriverErrorInfo), | ------------------------------------------- the variant `ElementClickIntercepted` contains at least 176 bytes 140 | #[error("The element is not interactable: {0}")] 141 | ElementNotInteractable(WebDriverErrorInfo), | ------------------------------------------ the variant `ElementNotInteractable` contains at least 176 bytes 142 | #[error("The certificate is insecure: {0}")] 143 | InsecureCertificate(WebDriverErrorInfo), | --------------------------------------- the variant `InsecureCertificate` contains at least 176 bytes 144 | #[error("An argument passed to the WebDriver server was invalid: {0}")] 145 | InvalidArgument(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidArgument` contains at least 176 bytes ... 149 | InvalidCookieDomain(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidCookieDomain` contains at least 176 bytes 150 | #[error("The element is in an invalid state: {0}")] 151 | InvalidElementState(WebDriverErrorInfo), | --------------------------------------- the variant `InvalidElementState` contains at least 176 bytes 152 | #[error("The specified element selector is invalid: {0}")] 153 | InvalidSelector(WebDriverErrorInfo), | ----------------------------------- the variant `InvalidSelector` contains at least 176 bytes 154 | #[error("The WebDriver session id is invalid: {0}")] 155 | InvalidSessionId(WebDriverErrorInfo), | ------------------------------------ the variant `InvalidSessionId` contains at least 176 bytes 156 | #[error("The Javascript code returned an error: {0}")] 157 | JavascriptError(WebDriverErrorInfo), | ----------------------------------- the variant `JavascriptError` contains at least 176 bytes 158 | #[error("Unable to scroll the element into the viewport: {0}")] 159 | MoveTargetOutOfBounds(WebDriverErrorInfo), | ----------------------------------------- the variant `MoveTargetOutOfBounds` contains at least 176 bytes 160 | #[error("Alert not found: {0}")] 161 | NoSuchAlert(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchAlert` contains at least 176 bytes 162 | #[error("Cookie not found: {0}")] 163 | NoSuchCookie(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchCookie` contains at least 176 bytes 164 | #[error("Element not found: {0}")] 165 | NoSuchElement(WebDriverErrorInfo), | --------------------------------- the variant `NoSuchElement` contains at least 176 bytes 166 | #[error("Frame not found: {0}")] 167 | NoSuchFrame(WebDriverErrorInfo), | ------------------------------- the variant `NoSuchFrame` contains at least 176 bytes 168 | #[error("Window not found: {0}")] 169 | NoSuchWindow(WebDriverErrorInfo), | -------------------------------- the variant `NoSuchWindow` contains at least 176 bytes 170 | #[error("The Javascript code did not complete within the script timeout (see WebDriver::set_script_timeout()): {0}")] 171 | ScriptTimeout(WebDriverErrorInfo), | --------------------------------- the variant `ScriptTimeout` contains at least 176 bytes 172 | #[error("Unable to create WebDriver session: {0}")] 173 | SessionNotCreated(WebDriverErrorInfo), | ------------------------------------- the variant `SessionNotCreated` contains at least 176 bytes 174 | #[error("Element is stale: {0}")] 175 | StaleElementReference(WebDriverErrorInfo), | ----------------------------------------- the variant `StaleElementReference` contains at least 176 bytes 176 | #[error("Operation timed out: {0}")] 177 | WebDriverTimeout(WebDriverErrorInfo), | ------------------------------------ the variant `WebDriverTimeout` contains at least 176 bytes 178 | #[error("Unable to set cookie: {0}")] 179 | UnableToSetCookie(WebDriverErrorInfo), | ------------------------------------- the variant `UnableToSetCookie` contains at least 176 bytes 180 | #[error("Unable to capture screenshot: {0}")] 181 | UnableToCaptureScreen(WebDriverErrorInfo), | ----------------------------------------- the variant `UnableToCaptureScreen` contains at least 176 bytes 182 | #[error("An unexpected alert is currently open: {0}")] 183 | UnexpectedAlertOpen(WebDriverErrorInfo), | --------------------------------------- the variant `UnexpectedAlertOpen` contains at least 176 bytes 184 | #[error("Unknown command: {0}")] 185 | UnknownCommand(WebDriverErrorInfo), | ---------------------------------- the variant `UnknownCommand` contains at least 176 bytes 186 | #[error("Unknown error: {0}")] 187 | UnknownError(WebDriverErrorInfo), | -------------------------------- the variant `UnknownError` contains at least 176 bytes 188 | #[error("Unknown method: {0}")] 189 | UnknownMethod(WebDriverErrorInfo), | --------------------------------- the variant `UnknownMethod` contains at least 176 bytes 190 | #[error("Unsupport operation: {0}")] 191 | UnsupportedOperation(WebDriverErrorInfo), | ---------------------------------------- the variant `UnsupportedOperation` contains at least 176 bytes | = help: try reducing the size of `error::WebDriverError`, for example by boxing large elements or replacing it with `Box<error::WebDriverError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: `#[warn(clippy::result_large_err)]` on by default
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
Unable to download cargo-tarpaulin == latest from the tool cache: Error: Unexpected HTTP response: 403