[INFO] fetching crate crowser 0.4.1... [INFO] testing crowser-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate crowser 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate crowser 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate crowser 0.4.1 [INFO] tweaked toml for crates.io crate crowser 0.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crowser 0.4.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crowser 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1da945c4c19e41fc5d939e8c6841580c019f7b38b1dd1bdefb825c79c7c7b217 [INFO] running `Command { std: "docker" "start" "-a" "1da945c4c19e41fc5d939e8c6841580c019f7b38b1dd1bdefb825c79c7c7b217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1da945c4c19e41fc5d939e8c6841580c019f7b38b1dd1bdefb825c79c7c7b217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da945c4c19e41fc5d939e8c6841580c019f7b38b1dd1bdefb825c79c7c7b217", kill_on_drop: false }` [INFO] [stdout] 1da945c4c19e41fc5d939e8c6841580c019f7b38b1dd1bdefb825c79c7c7b217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac29f1f66d8346de9f7c73e99f7c84e87b5fa7bac230e4fcab73e4111272c6a [INFO] running `Command { std: "docker" "start" "-a" "fac29f1f66d8346de9f7c73e99f7c84e87b5fa7bac230e4fcab73e4111272c6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling shared_child v1.0.1 [INFO] [stderr] Compiling syn v2.0.80 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling crowser v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PageEnable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PageEnable {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDisable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct PageDisable {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetSetDiscoverTargets` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct TargetSetDiscoverTargets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.46s [INFO] running `Command { std: "docker" "inspect" "fac29f1f66d8346de9f7c73e99f7c84e87b5fa7bac230e4fcab73e4111272c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac29f1f66d8346de9f7c73e99f7c84e87b5fa7bac230e4fcab73e4111272c6a", kill_on_drop: false }` [INFO] [stdout] fac29f1f66d8346de9f7c73e99f7c84e87b5fa7bac230e4fcab73e4111272c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 043af776e9cd92040868bdc391e6466315bdb13864893818d7a4e46dac5dd7e7 [INFO] running `Command { std: "docker" "start" "-a" "043af776e9cd92040868bdc391e6466315bdb13864893818d7a4e46dac5dd7e7", kill_on_drop: false }` [INFO] [stderr] Compiling crowser v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PageEnable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PageEnable {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDisable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct PageDisable {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetSetDiscoverTargets` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct TargetSetDiscoverTargets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageEnable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PageEnable {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageDisable` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct PageDisable {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TargetSetDiscoverTargets` is never constructed [INFO] [stdout] --> src/cdp/commands.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct TargetSetDiscoverTargets { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `Command { std: "docker" "inspect" "043af776e9cd92040868bdc391e6466315bdb13864893818d7a4e46dac5dd7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043af776e9cd92040868bdc391e6466315bdb13864893818d7a4e46dac5dd7e7", kill_on_drop: false }` [INFO] [stdout] 043af776e9cd92040868bdc391e6466315bdb13864893818d7a4e46dac5dd7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fe8ff1333b9b1db6042895b40da53b3d78e3c30d76f44fce2b496b39a681d57 [INFO] running `Command { std: "docker" "start" "-a" "5fe8ff1333b9b1db6042895b40da53b3d78e3c30d76f44fce2b496b39a681d57", kill_on_drop: false }` [INFO] [stderr] warning: struct `PageEnable` is never constructed [INFO] [stderr] --> src/cdp/commands.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct PageEnable {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PageDisable` is never constructed [INFO] [stderr] --> src/cdp/commands.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct PageDisable {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TargetSetDiscoverTargets` is never constructed [INFO] [stderr] --> src/cdp/commands.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct TargetSetDiscoverTargets { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `crowser` (lib) generated 3 warnings [INFO] [stderr] warning: `crowser` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crowser-545df563f6a6cecb) [INFO] [stdout] [INFO] [stderr] Doc-tests crowser [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Window (line 277) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/browser/mod.rs - browser (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 81) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Window (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Window` [INFO] [stdout] --> src/lib.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | let mut win = Window::new(RemoteConfig { [INFO] [stdout] | ^^^^^^ use of undeclared type `Window` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use crowser::Window; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RemoteConfig` in this scope [INFO] [stdout] --> src/lib.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | let mut win = Window::new(RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use crowser::RemoteConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | }, None, PathBuf::from("/path/to/your/app/profiles"))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Browser` in this scope [INFO] [stdout] --> src/lib.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | win.set_browser(Browser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use crowser::browser::Browser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrowserKind` [INFO] [stdout] --> src/lib.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | kind: BrowserKind::Chromium, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BrowserKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 277 + use crowser::browser::BrowserKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BrowserWindowsConfig` in this scope [INFO] [stdout] --> src/lib.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | win: BrowserWindowsConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use crowser::browser::BrowserWindowsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | paths: vec![PathBuf::from("/path/to/my/browser/executable")], [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | mac: vec![PathBuf::from("/Applications/My Browser.app/Contents/MacOS/my_browser")], [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut profile_dir = PathBuf::from("/path/to/your/app/profiles"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clean_profile` found for struct `Window` in the current scope [INFO] [stdout] --> src/lib.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | window.clean_profile()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clear_profile` with a similar name [INFO] [stdout] | [INFO] [stdout] 48 - window.clean_profile()?; [INFO] [stdout] 48 + window.clear_profile()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/browser/mod.rs - browser (line 8) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_best_browser` in this scope [INFO] [stdout] --> src/browser/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let browser = get_best_browser(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 + use crowser::browser::get_best_browser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrowserKind` [INFO] [stdout] --> src/browser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BrowserKind::Chromium => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BrowserKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crowser::browser::BrowserKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply_chromium_specific_config` in this scope [INFO] [stdout] --> src/browser/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | apply_chromium_specific_config(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 57) stdout ---- [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let dir = include_dir::include_dir!("/path/to/your/app/dist"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: "/path/to/your/app/dist" is not a directory [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/lib.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let mut profile_dir = PathBuf::from("/path/to/your/app/profiles"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 59 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clean_profile` found for struct `Window` in the current scope [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | window.clean_profile()?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clear_profile` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 - window.clean_profile()?; [INFO] [stdout] 73 + window.clear_profile()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 81) stdout ---- [INFO] [stdout] error[E0603]: module `ipc` is private [INFO] [stdout] --> src/lib.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | use crowser::{error::CrowserError, ipc::BrowserIpc, RemoteConfig, Window}; [INFO] [stdout] | ^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ipc` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | mod ipc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | .register_command( [INFO] [stdout] | ---------------- arguments to this method are incorrect [INFO] [stdout] 103 | "hello", [INFO] [stdout] 104 | / Box::new(|_| { [INFO] [stdout] 105 | | println!("Got hello command"); [INFO] [stdout] 106 | | Ok(serde_json::json!("Hello from Crowser!")) [INFO] [stdout] 107 | | }), [INFO] [stdout] | |__________^ expected fn pointer, found `Box<{closure@src/lib.rs:25:18}>` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(Value) -> Result` [INFO] [stdout] found struct `Box<{closure@src/lib.rs:25:18: 25:21}>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn register_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/browser/mod.rs - browser (line 8) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 57) [INFO] [stdout] src/lib.rs - (line 81) [INFO] [stdout] src/lib.rs - Window (line 277) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5fe8ff1333b9b1db6042895b40da53b3d78e3c30d76f44fce2b496b39a681d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe8ff1333b9b1db6042895b40da53b3d78e3c30d76f44fce2b496b39a681d57", kill_on_drop: false }` [INFO] [stdout] 5fe8ff1333b9b1db6042895b40da53b3d78e3c30d76f44fce2b496b39a681d57