[INFO] fetching crate fltk 0.8.0... [INFO] testing fltk-0.8.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate fltk 0.8.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate fltk 0.8.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fltk 0.8.0 [INFO] finished tweaking crates.io crate fltk 0.8.0 [INFO] tweaked toml for crates.io crate fltk 0.8.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate fltk 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b2e9757ea74f3cea8b7e3b6960e94d38d6ff1f1bd1fe3af0763aeca0a4ee6f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e5b2e9757ea74f3cea8b7e3b6960e94d38d6ff1f1bd1fe3af0763aeca0a4ee6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b2e9757ea74f3cea8b7e3b6960e94d38d6ff1f1bd1fe3af0763aeca0a4ee6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b2e9757ea74f3cea8b7e3b6960e94d38d6ff1f1bd1fe3af0763aeca0a4ee6f", kill_on_drop: false }` [INFO] [stdout] e5b2e9757ea74f3cea8b7e3b6960e94d38d6ff1f1bd1fe3af0763aeca0a4ee6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c3f6cb087e7600366324d54bdf0228646761b1b9845c9eebc77e0c464946d33 [INFO] running `Command { std: "docker" "start" "-a" "7c3f6cb087e7600366324d54bdf0228646761b1b9845c9eebc77e0c464946d33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling fltk-sys v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fltk-derive v0.8.0 [INFO] [stderr] Compiling fltk v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "7c3f6cb087e7600366324d54bdf0228646761b1b9845c9eebc77e0c464946d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3f6cb087e7600366324d54bdf0228646761b1b9845c9eebc77e0c464946d33", kill_on_drop: false }` [INFO] [stdout] 7c3f6cb087e7600366324d54bdf0228646761b1b9845c9eebc77e0c464946d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ea51173df3dacac6a2f8937d99c41b5c8a04fc7055edf8f71bf0615d425161 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73ea51173df3dacac6a2f8937d99c41b5c8a04fc7055edf8f71bf0615d425161", kill_on_drop: false }` [INFO] [stderr] Compiling fltk v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.18s [INFO] running `Command { std: "docker" "inspect" "73ea51173df3dacac6a2f8937d99c41b5c8a04fc7055edf8f71bf0615d425161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ea51173df3dacac6a2f8937d99c41b5c8a04fc7055edf8f71bf0615d425161", kill_on_drop: false }` [INFO] [stdout] 73ea51173df3dacac6a2f8937d99c41b5c8a04fc7055edf8f71bf0615d425161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 958d45246bd81fede153656c0848e026e401556bbe717d125fa5f02887310a4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "958d45246bd81fede153656c0848e026e401556bbe717d125fa5f02887310a4a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fltk-899d2c3b1873fcc4 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test button::button::tooltip ... ok [INFO] [stdout] test menu::menu::label ... ok [INFO] [stderr] Doc-tests fltk [INFO] [stdout] test text::editor::buffer ... ok [INFO] [stdout] test menu::menu::tooltip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppScheme` [INFO] [stdout] --> src/lib.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 3 | let app = App::default().with_scheme(AppScheme::Gleam); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `AppScheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `App` [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 3 | let app = App::default().with_scheme(AppScheme::Gleam); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::app::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 118) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `but` in this scope [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 4 | but.set_callback(Box::new(move || frame.set_label("Hello World!"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/lib.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 4 | but.set_callback(Box::new(move || frame.set_label("Hello World!"))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 5 | app.run().unwrap(); [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] ---- src/lib.rs - (line 144) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_widget` in this scope [INFO] [stdout] --> src/lib.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 3 | some_widget.handle(Box::new(move |ev: Event| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> src/lib.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 3 | some_widget.handle(Box::new(move |ev: Event| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 124) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `app` [INFO] [stdout] --> src/lib.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 4 | let (s, r) = app::channel::(); [INFO] [stdout] | ^^^ use of undeclared type or module `app` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/lib.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 6 | but_inc.emit(s, Message::Increment); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/lib.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 7 | but_dec.emit(s, Message::Decrement); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/lib.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 12 | Some(Message::Increment) => frame.set_label(&(label + 1).to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/lib.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 13 | Some(Message::Decrement) => frame.set_label(&(label - 1).to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 4 | let (s, r) = app::channel::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `fltk::dialog::BeepType::Message`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 4 | let (s, r) = app::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `but_inc` in this scope [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 6 | but_inc.emit(s, Message::Increment); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `but_dec` in this scope [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 7 | but_dec.emit(s, Message::Decrement); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/lib.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 9 | while app.wait().unwrap() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/lib.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 10 | let label: i32 = frame.label().parse().unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/lib.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 12 | Some(Message::Increment) => frame.set_label(&(label + 1).to_string()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/lib.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 13 | Some(Message::Decrement) => frame.set_label(&(label - 1).to_string()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Button` [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 3 | let but1 = Button::new(10, 10, 80, 40, "Button 1"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::button::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Button` [INFO] [stdout] --> src/lib.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 5 | let but2 = Button::default() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::button::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 168) stdout ---- [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 4 | some_button.set_color(Color::Light1); //! You can use one of the provided colors in the fltk enums [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:170:56 [INFO] [stdout] | [INFO] [stdout] 5 | some_button.set_color(Color::from_rgb(255, 0, 0)); //! Or you can specify a color by rgb or hex/u32 value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/lib.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 4 | some_button.set_color(Color::Light1); //! You can use one of the provided colors in the fltk enums [INFO] [stdout] | ^^^^^ use of undeclared type or module `Color` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FrameType` [INFO] [stdout] --> src/lib.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 7 | some_button.set_frame(FrameType::RoundUpBox); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FrameType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Font` [INFO] [stdout] --> src/lib.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 8 | some_button.set_font(Font::TimesItalic); [INFO] [stdout] | ^^^^ use of undeclared type or module `Font` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_button` in this scope [INFO] [stdout] --> src/lib.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 4 | some_button.set_color(Color::Light1); //! You can use one of the provided colors in the fltk enums [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_button` in this scope [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 5 | some_button.set_color(Color::from_rgb(255, 0, 0)); //! Or you can specify a color by rgb or hex/u32 value [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/lib.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 5 | some_button.set_color(Color::from_rgb(255, 0, 0)); //! Or you can specify a color by rgb or hex/u32 value [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use fltk::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_button` in this scope [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 6 | some_button.set_color(Color::from_u32(0xffebee)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Color` [INFO] [stdout] --> src/lib.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 6 | some_button.set_color(Color::from_u32(0xffebee)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use fltk::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_button` in this scope [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 7 | some_button.set_frame(FrameType::RoundUpBox); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_button` in this scope [INFO] [stdout] --> src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 8 | some_button.set_font(Font::TimesItalic); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0753. [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 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `app` [INFO] [stdout] --> src/lib.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 3 | let app = app::App::default(); [INFO] [stdout] | ^^^ not found in `app` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::app::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Window` [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 4 | let mut wind = Window::default() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::window::Window; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Frame` [INFO] [stdout] --> src/lib.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut frame = Frame::default() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::frame::Frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Button` [INFO] [stdout] --> src/lib.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 12 | let mut but_inc = Button::default() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::button::Button; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Button` [INFO] [stdout] --> src/lib.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 16 | let mut but_dec = Button::default() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fltk::button::Button; [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/lib.rs - (line 55) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Can't open display: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Can't open display: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 124) [INFO] [stdout] src/lib.rs - (line 144) [INFO] [stdout] src/lib.rs - (line 163) [INFO] [stdout] src/lib.rs - (line 168) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 81) [INFO] [stdout] src/lib.rs - (line 91) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "958d45246bd81fede153656c0848e026e401556bbe717d125fa5f02887310a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958d45246bd81fede153656c0848e026e401556bbe717d125fa5f02887310a4a", kill_on_drop: false }` [INFO] [stdout] 958d45246bd81fede153656c0848e026e401556bbe717d125fa5f02887310a4a