[INFO] fetching crate fltk 0.7.16... [INFO] testing fltk-0.7.16 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate fltk 0.7.16 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate fltk 0.7.16 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fltk 0.7.16 [INFO] finished tweaking crates.io crate fltk 0.7.16 [INFO] tweaked toml for crates.io crate fltk 0.7.16 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate fltk 0.7.16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff658f402e7abf3100bdb34a650026621664b4d35c255973a60ce31079f697ac [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" "ff658f402e7abf3100bdb34a650026621664b4d35c255973a60ce31079f697ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff658f402e7abf3100bdb34a650026621664b4d35c255973a60ce31079f697ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff658f402e7abf3100bdb34a650026621664b4d35c255973a60ce31079f697ac", kill_on_drop: false }` [INFO] [stdout] ff658f402e7abf3100bdb34a650026621664b4d35c255973a60ce31079f697ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] fd08a16c17d12284b897a423d9c80af9616c30a9d73eec0cb5f89a3c46d1c5ae [INFO] running `Command { std: "docker" "start" "-a" "fd08a16c17d12284b897a423d9c80af9616c30a9d73eec0cb5f89a3c46d1c5ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fltk-sys v0.7.16 [INFO] [stderr] Compiling fltk-derive v0.7.16 [INFO] [stderr] Compiling fltk v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "fd08a16c17d12284b897a423d9c80af9616c30a9d73eec0cb5f89a3c46d1c5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd08a16c17d12284b897a423d9c80af9616c30a9d73eec0cb5f89a3c46d1c5ae", kill_on_drop: false }` [INFO] [stdout] fd08a16c17d12284b897a423d9c80af9616c30a9d73eec0cb5f89a3c46d1c5ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7070e1211dd579114a85d04cb2a4e1e6b245f03a0f732b0db9b3ee12e1d67b09 [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" "7070e1211dd579114a85d04cb2a4e1e6b245f03a0f732b0db9b3ee12e1d67b09", kill_on_drop: false }` [INFO] [stderr] Compiling fltk v0.7.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.95s [INFO] running `Command { std: "docker" "inspect" "7070e1211dd579114a85d04cb2a4e1e6b245f03a0f732b0db9b3ee12e1d67b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7070e1211dd579114a85d04cb2a4e1e6b245f03a0f732b0db9b3ee12e1d67b09", kill_on_drop: false }` [INFO] [stdout] 7070e1211dd579114a85d04cb2a4e1e6b245f03a0f732b0db9b3ee12e1d67b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] 1d5e2f10cb5514d06996dd119fe791cd0169e0e3f7249a8b9f901576560bb1d0 [INFO] running `Command { std: "docker" "start" "-a" "1d5e2f10cb5514d06996dd119fe791cd0169e0e3f7249a8b9f901576560bb1d0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fltk-23004a02f2277991 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test text::editor::buffer ... ok [INFO] [stdout] test menu::menu::tooltip ... ok [INFO] [stdout] test button::button::tooltip ... ok [INFO] [stdout] test menu::menu::label ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests fltk [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - (line 120) ... FAILED [INFO] [stdout] test src/lib.rs - (line 77) ... FAILED [INFO] [stdout] test src/lib.rs - (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - (line 159) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 140) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_widget` in this scope [INFO] [stdout] --> src/lib.rs:141: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:141: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 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `app` [INFO] [stdout] --> src/lib.rs:122: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:124: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:125: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:130: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:131: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:122: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:124: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:125: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:127: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:128: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:130: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:131: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 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Button` [INFO] [stdout] --> src/lib.rs:78: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:80: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 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `app` [INFO] [stdout] --> src/lib.rs:88: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:89: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:93: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:97: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:101: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 114) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `but` in this scope [INFO] [stdout] --> src/lib.rs:116: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:116: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:117: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 164) stdout ---- [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/lib.rs:165: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:166: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:165: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:168: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:169: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:165: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:166: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:166: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:167: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:167: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:168: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:169: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 159) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AppScheme` [INFO] [stdout] --> src/lib.rs:160: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:160: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 51) 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 62) 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 114) [INFO] [stdout] src/lib.rs - (line 120) [INFO] [stdout] src/lib.rs - (line 140) [INFO] [stdout] src/lib.rs - (line 159) [INFO] [stdout] src/lib.rs - (line 164) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - (line 77) [INFO] [stdout] src/lib.rs - (line 87) [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" "1d5e2f10cb5514d06996dd119fe791cd0169e0e3f7249a8b9f901576560bb1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5e2f10cb5514d06996dd119fe791cd0169e0e3f7249a8b9f901576560bb1d0", kill_on_drop: false }` [INFO] [stdout] 1d5e2f10cb5514d06996dd119fe791cd0169e0e3f7249a8b9f901576560bb1d0