[INFO] fetching crate too 0.2.0... [INFO] testing too-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate too 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate too 0.2.0 [INFO] finished tweaking crates.io crate too 0.2.0 [INFO] tweaked toml for crates.io crate too 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate too 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding compact_str v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding crossterm v0.28.1 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded puffin v0.19.1 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded profiling v1.0.17 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad30f338bf7abedc3574c217cb7ee1dd0201f75f9ce2ef05acd47996ee5ac78b [INFO] running `Command { std: "docker" "start" "-a" "ad30f338bf7abedc3574c217cb7ee1dd0201f75f9ce2ef05acd47996ee5ac78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad30f338bf7abedc3574c217cb7ee1dd0201f75f9ce2ef05acd47996ee5ac78b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad30f338bf7abedc3574c217cb7ee1dd0201f75f9ce2ef05acd47996ee5ac78b", kill_on_drop: false }` [INFO] [stdout] ad30f338bf7abedc3574c217cb7ee1dd0201f75f9ce2ef05acd47996ee5ac78b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8edecdb93decd4168553c4f9d40b10a502220cb304a514bc5744136f92b8197f [INFO] running `Command { std: "docker" "start" "-a" "8edecdb93decd4168553c4f9d40b10a502220cb304a514bc5744136f92b8197f", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling too v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let scale = |d| (d as f32 / 256.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stdout] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/slider.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider { [INFO] [stdout] | ^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.40s [INFO] running `Command { std: "docker" "inspect" "8edecdb93decd4168553c4f9d40b10a502220cb304a514bc5744136f92b8197f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8edecdb93decd4168553c4f9d40b10a502220cb304a514bc5744136f92b8197f", kill_on_drop: false }` [INFO] [stdout] 8edecdb93decd4168553c4f9d40b10a502220cb304a514bc5744136f92b8197f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d89eb1383db335c239fbaf30dd836949acad77ee71049bf56ad8696e75fd865 [INFO] running `Command { std: "docker" "start" "-a" "3d89eb1383db335c239fbaf30dd836949acad77ee71049bf56ad8696e75fd865", kill_on_drop: false }` [INFO] [stderr] Compiling too v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let scale = |d| (d as f32 / 256.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stdout] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/slider.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider { [INFO] [stdout] | ^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let scale = |d| (d as f32 / 256.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stdout] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/slider.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider { [INFO] [stdout] | ^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "3d89eb1383db335c239fbaf30dd836949acad77ee71049bf56ad8696e75fd865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d89eb1383db335c239fbaf30dd836949acad77ee71049bf56ad8696e75fd865", kill_on_drop: false }` [INFO] [stdout] 3d89eb1383db335c239fbaf30dd836949acad77ee71049bf56ad8696e75fd865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0bca5f84db5fab2263283bcc1f8e35946b239fabea5dfc27c76b296e3b71af6 [INFO] running `Command { std: "docker" "start" "-a" "c0bca5f84db5fab2263283bcc1f8e35946b239fabea5dfc27c76b296e3b71af6", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/renderer/rgba.rs:141:25 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 141 | let scale = |d| (d as f32 / 256.0); [INFO] [stdout] [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stderr] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/views/slider.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn slider(value: &mut f32) -> Slider { [INFO] [stderr] | ^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn slider(value: &mut f32) -> Slider<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `too` (lib) generated 2 warnings (run `cargo fix --lib -p too` to apply 2 suggestions) [INFO] [stderr] warning: `too` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/too-d6175bbbbf821476) [INFO] [stderr] Doc-tests too [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/renderer/rgba.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | let scale = |d| (d as f32 / 256.0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 141 - let scale = |d| (d as f32 / 256.0); [INFO] [stderr] 141 + let scale = |d| d as f32 / 256.0 ; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib.rs - (line 59) - compile ... ok [INFO] [stdout] test src/view/debug.rs - view::debug::render_tree (line 633) - compile ... FAILED [INFO] [stdout] test src/view/state.rs - view::state::State (line 32) - compile ... FAILED [INFO] [stdout] test src/view/debug.rs - view::debug::compact_tree (line 588) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) - compile ... ok [INFO] [stdout] test src/view/debug.rs - view::debug::pretty_tree (line 506) - compile ... FAILED [INFO] [stdout] test src/view/style.rs - view::style::StyleKind (line 12) - compile ... FAILED [INFO] [stdout] test src/view/debug.rs - view::debug::render_tree (line 621) - compile ... FAILED [INFO] [stdout] test src/view/style.rs - view::style::StyleKind (line 36) - compile ... FAILED [INFO] [stdout] test src/view/adhoc.rs - view::adhoc::Adhoc (line 12) - compile ... FAILED [INFO] [stdout] test src/view/builder.rs - view::builder::Builder (line 23) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 39) - compile ... FAILED [INFO] [stdout] test src/view/layout.rs - view::layout::Layout (line 23) - compile ... FAILED [INFO] [stdout] test src/layout/linear.rs - layout::linear::LinearAllocator::allocate (line 31) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/view/debug.rs - view::debug::render_tree (line 633) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/view/debug.rs:634:1 [INFO] [stdout] | [INFO] [stdout] 1 | ViewId(3v1): Text { rect: { x: 35, y: 12, w: 11, h: 1 }, shape: TextShape { label: "hello world", fg: Set(rgb(255, 255, 255, 255)), bg: R... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 1 | ViewId!(3v1): Text { rect: { x: 35, y: 12, w: 11, h: 1 }, shape: TextShape { label: "hello world", fg: Set(rgb(255, 255, 255, 255)), bg: Reuse, attribute: None } } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/view/state.rs - view::state::State (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> src/view/state.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut state = State::new(Palette::default(), Animations::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Palette` [INFO] [stdout] --> src/view/state.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 3 | let mut state = State::new(Palette::default(), Animations::default()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Palette` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::Palette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Animations` [INFO] [stdout] --> src/view/state.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 3 | let mut state = State::new(Palette::default(), Animations::default()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Animations` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::animation::Animations; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame_time` in this scope [INFO] [stdout] --> src/view/state.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 11 | state.update(frame_time.dt()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_rect` in this scope [INFO] [stdout] --> src/view/state.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 14 | state.build(some_rect, |ui|{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_rasterizer` in this scope [INFO] [stdout] --> src/view/state.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 19 | state.render(&mut my_rasterizer); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_event` in this scope [INFO] [stdout] --> src/view/state.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 6 | if let Some(event) = read_event() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display_user_ui` in this scope [INFO] [stdout] --> src/view/state.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 15 | display_user_ui(ui); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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/view/debug.rs - view::debug::compact_tree (line 588) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `compact_tree` in module `too::view` [INFO] [stdout] --> src/view/debug.rs:590:12 [INFO] [stdout] | [INFO] [stdout] 5 | too::view::compact_tree(|ui| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `too::view` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::debug::compact_tree; [INFO] [stdout] | [INFO] [stdout] help: if you import `compact_tree`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - too::view::compact_tree(|ui| { [INFO] [stdout] 5 + compact_tree(|ui| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align2` [INFO] [stdout] --> src/view/debug.rs:593:16 [INFO] [stdout] | [INFO] [stdout] 8 | ui.aligned(Align2::RIGHT_TOP, |ui| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Align2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Align2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill` in this scope [INFO] [stdout] --> src/view/debug.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 12 | ui.show(fill("#F0F", [10.0, 10.0])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::views::fill; [INFO] [stdout] | [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/view/debug.rs - view::debug::pretty_tree (line 506) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `pretty_tree` in module `too::view` [INFO] [stdout] --> src/view/debug.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 5 | too::view::pretty_tree(|ui| { [INFO] [stdout] | ^^^^^^^^^^^ not found in `too::view` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::debug::pretty_tree; [INFO] [stdout] | [INFO] [stdout] help: if you import `pretty_tree`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - too::view::pretty_tree(|ui| { [INFO] [stdout] 5 + pretty_tree(|ui| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align2` [INFO] [stdout] --> src/view/debug.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 8 | ui.aligned(Align2::RIGHT_TOP, |ui| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Align2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Align2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill` in this scope [INFO] [stdout] --> src/view/debug.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 12 | ui.show(fill("#F0F", [10.0, 10.0])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::views::fill; [INFO] [stdout] | [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/view/style.rs - view::style::StyleKind (line 12) stdout ---- [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/view/style.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class) -> Self; [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class: TypeName) -> Self; [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, _: Class) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/view/style.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style) -> Self; [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style: TypeName) -> Self; [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, _: Style) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/view/style.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{
}` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/view/style.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class) -> Self; [INFO] [stdout] | ^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/view/style.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class) -> Self; [INFO] [stdout] | ^^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/view/style.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/view/style.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style) -> Self; [INFO] [stdout] | ^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/view/style.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style) -> Self; [INFO] [stdout] | ^^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Palette` in this scope [INFO] [stdout] --> src/view/style.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 4 | type Class = fn(&Palette) -> Style; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::Palette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/view/style.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 5 | fn class(mut self, Class) -> Self; [INFO] [stdout] | ----- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/view/style.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 6 | fn style(mut self, Style) -> Self; [INFO] [stdout] | ----- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0642. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/view/debug.rs - view::debug::render_tree (line 621) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `render_tree` in module `too::view` [INFO] [stdout] --> src/view/debug.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 5 | too::view::render_tree(|ui| { [INFO] [stdout] | ^^^^^^^^^^^ not found in `too::view` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::debug::render_tree; [INFO] [stdout] | [INFO] [stdout] help: if you import `render_tree`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - too::view::render_tree(|ui| { [INFO] [stdout] 5 + render_tree(|ui| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Align2` [INFO] [stdout] --> src/view/debug.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 8 | ui.aligned(Align2::RIGHT_TOP, |ui| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Align2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Align2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill` in this scope [INFO] [stdout] --> src/view/debug.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 12 | ui.show(fill("#F0F", [10.0, 10.0])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use too::views::fill; [INFO] [stdout] | [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/view/style.rs - view::style::StyleKind (line 36) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Rgba` in this scope [INFO] [stdout] --> src/view/style.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 5 | background: Rgba, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::renderer::Rgba; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Palette` in this scope [INFO] [stdout] --> src/view/style.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn default(palette: &Palette, axis: Axis) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::Palette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Axis` in this scope [INFO] [stdout] --> src/view/style.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 11 | fn default(palette: &Palette, axis: Axis) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Palette` in this scope [INFO] [stdout] --> src/view/style.rs:54:26 [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 20 | fn hash_at(palette: &Palette, axis: Axis) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::Palette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Axis` in this scope [INFO] [stdout] --> src/view/style.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 20 | fn hash_at(palette: &Palette, axis: Axis) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Palette` in this scope [INFO] [stdout] --> src/view/style.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 30 | type MyClass = fn(&Palette, Axis) -> MyStyle; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::Palette; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Axis` in this scope [INFO] [stdout] --> src/view/style.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 30 | type MyClass = fn(&Palette, Axis) -> MyStyle; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use too::layout::Axis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StyleKind` [INFO] [stdout] --> src/view/style.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 34 | class: StyleKind::Deferred(MyStyle::default), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StyleKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use too::view::StyleKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StyleKind` in this scope [INFO] [stdout] --> src/view/style.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 40 | class: StyleKind