[INFO] fetching crate termux-gui 0.3.0... [INFO] testing termux-gui-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate termux-gui 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate termux-gui 0.3.0 [INFO] finished tweaking crates.io crate termux-gui 0.3.0 [INFO] tweaked toml for crates.io crate termux-gui 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate termux-gui 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate termux-gui 0.3.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2a3becde9aa35141287ecc4c9f401a0408e58f80f46fe2ad41498d1fbbe1af8 [INFO] running `Command { std: "docker" "start" "-a" "b2a3becde9aa35141287ecc4c9f401a0408e58f80f46fe2ad41498d1fbbe1af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2a3becde9aa35141287ecc4c9f401a0408e58f80f46fe2ad41498d1fbbe1af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a3becde9aa35141287ecc4c9f401a0408e58f80f46fe2ad41498d1fbbe1af8", kill_on_drop: false }` [INFO] [stdout] b2a3becde9aa35141287ecc4c9f401a0408e58f80f46fe2ad41498d1fbbe1af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbcef75b2f8f8bb8854b6ac5bde16a04e08c9b9a8e0253432cd528b042b99b7d [INFO] running `Command { std: "docker" "start" "-a" "dbcef75b2f8f8bb8854b6ac5bde16a04e08c9b9a8e0253432cd528b042b99b7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling termux-gui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `aid` is never read [INFO] [stdout] --> src/components/space.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Space { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | view: View, [INFO] [stdout] 14 | aid: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.94s [INFO] running `Command { std: "docker" "inspect" "dbcef75b2f8f8bb8854b6ac5bde16a04e08c9b9a8e0253432cd528b042b99b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbcef75b2f8f8bb8854b6ac5bde16a04e08c9b9a8e0253432cd528b042b99b7d", kill_on_drop: false }` [INFO] [stdout] dbcef75b2f8f8bb8854b6ac5bde16a04e08c9b9a8e0253432cd528b042b99b7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6be3e04ba001f0168135f59ab96206ba77f026123de9306f607194d16606e5c [INFO] running `Command { std: "docker" "start" "-a" "e6be3e04ba001f0168135f59ab96206ba77f026123de9306f607194d16606e5c", kill_on_drop: false }` [INFO] [stdout] warning: field `aid` is never read [INFO] [stdout] --> src/components/space.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Space { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | view: View, [INFO] [stdout] 14 | aid: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termux-gui v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `aid` is never read [INFO] [stdout] --> src/components/space.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Space { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | view: View, [INFO] [stdout] 14 | aid: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "e6be3e04ba001f0168135f59ab96206ba77f026123de9306f607194d16606e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6be3e04ba001f0168135f59ab96206ba77f026123de9306f607194d16606e5c", kill_on_drop: false }` [INFO] [stdout] e6be3e04ba001f0168135f59ab96206ba77f026123de9306f607194d16606e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 958bb4041ebe3b498e09f7a8cbfb4db665de34b4620240391e8f30a22925b179 [INFO] running `Command { std: "docker" "start" "-a" "958bb4041ebe3b498e09f7a8cbfb4db665de34b4620240391e8f30a22925b179", kill_on_drop: false }` [INFO] [stderr] warning: field `aid` is never read [INFO] [stderr] --> src/components/space.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Space { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 13 | view: View, [INFO] [stderr] 14 | aid: i64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `termux-gui` (lib) generated 1 warning [INFO] [stderr] warning: `termux-gui` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/termux_gui-985679a1a6da16a6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests termux_gui [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 15 tests [INFO] [stdout] test src/components/layout.rs - components::layout::HorizontalScrollView (line 226) - compile ... ok [INFO] [stdout] test src/components/spinner.rs - components::spinner (line 12) - compile ... ok [INFO] [stdout] test src/components/layout.rs - components::layout::TabLayout::set_list (line 473) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView (line 65) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view (line 10) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView::evaluate_js (line 288) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView::load_uri (line 145) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView::allow_javascript (line 218) - compile ... FAILED [INFO] [stdout] test src/components/layout.rs - components::layout::TabLayout::select_tab (line 494) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView::set_data (line 174) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) - compile ... ok [INFO] [stdout] test src/view.rs - view (line 18) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView::new (line 92) - compile ... FAILED [INFO] [stdout] test src/components/web_view.rs - components::web_view::WebView (line 49) - compile ... FAILED [INFO] [stdout] test src/view.rs - view::View::set_background_color (line 244) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/components/layout.rs - components::layout::TabLayout::set_list (line 473) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tab_layout` in this scope [INFO] [stdout] --> src/components/layout.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | tab_layout.set_list(activity, &["Page 1", "Page 2", "Page 3"])?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `activity` in this scope [INFO] [stdout] --> src/components/layout.rs:474:21 [INFO] [stdout] | [INFO] [stdout] 474 | tab_layout.set_list(activity, &["Page 1", "Page 2", "Page 3"])?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 64 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 64 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 64 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 78 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinearLayout` [INFO] [stdout] --> src/components/web_view.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let layout = LinearLayout::new(&mut activity, None, true)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LinearLayout` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use termux_gui::LinearLayout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let webview = WebView::new(&mut activity, Some(layout.id()))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 33 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView::evaluate_js (line 288) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 287 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 298 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 298 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView::load_uri (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 144 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 151 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView::allow_javascript (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 217 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 217 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 217 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 230 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/layout.rs - components::layout::TabLayout::select_tab (line 494) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tab_layout` in this scope [INFO] [stdout] --> src/components/layout.rs:496:1 [INFO] [stdout] | [INFO] [stdout] 496 | tab_layout.select_tab(activity, 1)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `activity` in this scope [INFO] [stdout] --> src/components/layout.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | tab_layout.select_tab(activity, 1)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView::set_data (line 174) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 173 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 184 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/view.rs - view (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `scroll_view` in this scope [INFO] [stdout] --> src/view.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let (width_px, height_px) = scroll_view.view().get_dimensions(activity)?; [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `scroll_view_id` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `page` in this scope [INFO] [stdout] --> src/view.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | page.view().set_width_px(activity, width_px)?; // Perfect match! [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView::new (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 91 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | let webview = WebView::new(&mut activity, Some(layout_id))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 91 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 91 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 98 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/web_view.rs - components::web_view::WebView (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use termux_gui_rust_demo::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Activity` [INFO] [stdout] --> src/components/web_view.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let mut activity = Activity::new()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Activity` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 + use termux_gui::Activity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebView` [INFO] [stdout] --> src/components/web_view.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let webview = WebView::new(&mut activity, None)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `WebView` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 48 + use termux_gui::WebView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] --> src/components/web_view.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `termux_gui_rust_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `termux_gui_rust_demo`, use `cargo add termux_gui_rust_demo` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 48 + use termux_gui::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - Ok::<(), termux_gui_rust_demo::error::GuiError>(()) [INFO] [stdout] 59 + Ok::<(), error::GuiError>(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/view.rs - view::View::set_background_color (line 244) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `view` in this scope [INFO] [stdout] --> src/view.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | view.set_background_color(activity, 0xFFFF0000u32 as i32)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `view` in this scope [INFO] [stdout] --> src/view.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | view.set_background_color(activity, 0x800000FFu32 as i32)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `view` in this scope [INFO] [stdout] --> src/view.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | view.set_background_color(activity, 0xFFFFFFFFu32 as i32)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/components/layout.rs - components::layout::TabLayout::select_tab (line 494) [INFO] [stdout] src/components/layout.rs - components::layout::TabLayout::set_list (line 473) [INFO] [stdout] src/components/web_view.rs - components::web_view (line 10) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView (line 49) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView (line 65) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView::allow_javascript (line 218) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView::evaluate_js (line 288) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView::load_uri (line 145) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView::new (line 92) [INFO] [stdout] src/components/web_view.rs - components::web_view::WebView::set_data (line 174) [INFO] [stdout] src/view.rs - view (line 18) [INFO] [stdout] src/view.rs - view::View::set_background_color (line 244) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "958bb4041ebe3b498e09f7a8cbfb4db665de34b4620240391e8f30a22925b179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958bb4041ebe3b498e09f7a8cbfb4db665de34b4620240391e8f30a22925b179", kill_on_drop: false }` [INFO] [stdout] 958bb4041ebe3b498e09f7a8cbfb4db665de34b4620240391e8f30a22925b179