[INFO] fetching crate orbtk-simple-modal 0.1.0... [INFO] checking orbtk-simple-modal-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate orbtk-simple-modal 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate orbtk-simple-modal 0.1.0 [INFO] finished tweaking crates.io crate orbtk-simple-modal 0.1.0 [INFO] tweaked toml for crates.io crate orbtk-simple-modal 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate orbtk-simple-modal 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded font-loader v0.11.0 [INFO] [stderr] Downloaded orbtk v0.2.31 [INFO] [stderr] Downloaded orbfont v0.1.12 [INFO] [stderr] Downloaded cssparser v0.16.1 [INFO] [stderr] Downloaded orbimage v0.1.17 [INFO] [stderr] Downloaded resize v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e777d84a725f5ea3187e880ffab520828f5d2c0bf3c786cc4d6b5758a99e83f [INFO] running `Command { std: "docker" "start" "-a" "9e777d84a725f5ea3187e880ffab520828f5d2c0bf3c786cc4d6b5758a99e83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e777d84a725f5ea3187e880ffab520828f5d2c0bf3c786cc4d6b5758a99e83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e777d84a725f5ea3187e880ffab520828f5d2c0bf3c786cc4d6b5758a99e83f", kill_on_drop: false }` [INFO] [stdout] 9e777d84a725f5ea3187e880ffab520828f5d2c0bf3c786cc4d6b5758a99e83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4612ab17986dde95e6b575f041782ff4f6781afccc5125b635cbd4ce7cf16fd [INFO] running `Command { std: "docker" "start" "-a" "b4612ab17986dde95e6b575f041782ff4f6781afccc5125b635cbd4ce7cf16fd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling orbclient v0.3.48 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling procedural-masquerade v0.1.7 [INFO] [stderr] Compiling cssparser v0.16.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking font-loader v0.11.0 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking resize v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Compiling cssparser-macros v0.3.6 [INFO] [stderr] Checking orbimage v0.1.17 [INFO] [stderr] Checking orbfont v0.1.12 [INFO] [stderr] Checking orbtk v0.2.31 [INFO] [stderr] Checking orbtk-simple-modal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `orbtk::theme::LABEL_BACKGROUND`, `orbtk::theme::LABEL_BORDER`, `orbtk::theme::LABEL_FOREGROUND` [INFO] [stdout] --> src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use orbtk::theme::{LABEL_BACKGROUND, LABEL_BORDER, LABEL_FOREGROUND}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `LABEL_FOREGROUND` in `theme` [INFO] [stdout] | | | [INFO] [stdout] | | no `LABEL_BORDER` in `theme` [INFO] [stdout] | no `LABEL_BACKGROUND` in `theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `orbtk::traits::Border` [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use orbtk::traits::{Border, Click, Place, Text}; [INFO] [stdout] | ^^^^^^ no `Border` in `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | click_callback: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | click_callback: RefCell>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut Renderer, _focused: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `draw` has 3 parameters but the declaration in trait `draw` has 4 [INFO] [stdout] --> src/lib.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut Renderer, _focused: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `draw` from trait: `fn(&Self, &mut dyn Renderer, bool, &Theme)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `event` has 4 parameters but the declaration in trait `event` has 5 [INFO] [stdout] --> src/lib.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | fn event(&self, event: Event, focused: bool, redraw: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters, found 4 [INFO] [stdout] | [INFO] [stdout] = note: `event` from trait: `fn(&Self, orbtk::Event, bool, &mut bool, &mut bool) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `local_position`, `vertical_placement`, `horizontal_placement`, `margin`, `name`, `children` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | impl Widget for Modal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `local_position`, `vertical_placement`, `horizontal_placement`, `margin`, `name`, `children` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn local_position(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn vertical_placement(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn horizontal_placement(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn margin(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn children(&self) -> &RefCell>> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orbtk-simple-modal` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `orbtk::theme::LABEL_BACKGROUND`, `orbtk::theme::LABEL_BORDER`, `orbtk::theme::LABEL_FOREGROUND` [INFO] [stdout] --> src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use orbtk::theme::{LABEL_BACKGROUND, LABEL_BORDER, LABEL_FOREGROUND}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `LABEL_FOREGROUND` in `theme` [INFO] [stdout] | | | [INFO] [stdout] | | no `LABEL_BORDER` in `theme` [INFO] [stdout] | no `LABEL_BACKGROUND` in `theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `orbtk::traits::Border` [INFO] [stdout] --> src/lib.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use orbtk::traits::{Border, Click, Place, Text}; [INFO] [stdout] | ^^^^^^ no `Border` in `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | click_callback: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | click_callback: RefCell>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut Renderer, _focused: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `draw` has 3 parameters but the declaration in trait `draw` has 4 [INFO] [stdout] --> src/lib.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn draw(&self, renderer: &mut Renderer, _focused: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `draw` from trait: `fn(&Self, &mut dyn Renderer, bool, &Theme)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `event` has 4 parameters but the declaration in trait `event` has 5 [INFO] [stdout] --> src/lib.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | fn event(&self, event: Event, focused: bool, redraw: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 parameters, found 4 [INFO] [stdout] | [INFO] [stdout] = note: `event` from trait: `fn(&Self, orbtk::Event, bool, &mut bool, &mut bool) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `local_position`, `vertical_placement`, `horizontal_placement`, `margin`, `name`, `children` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | impl Widget for Modal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `local_position`, `vertical_placement`, `horizontal_placement`, `margin`, `name`, `children` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn local_position(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn vertical_placement(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn horizontal_placement(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn margin(&self) -> &Cell { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn children(&self) -> &RefCell>> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orbtk-simple-modal` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4612ab17986dde95e6b575f041782ff4f6781afccc5125b635cbd4ce7cf16fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4612ab17986dde95e6b575f041782ff4f6781afccc5125b635cbd4ce7cf16fd", kill_on_drop: false }` [INFO] [stdout] b4612ab17986dde95e6b575f041782ff4f6781afccc5125b635cbd4ce7cf16fd