[INFO] fetching crate clear-coat 0.0.3... [INFO] checking clear-coat-0.0.3 against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] extracting crate clear-coat 0.0.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate clear-coat 0.0.3 on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate clear-coat 0.0.3 [INFO] finished tweaking crates.io crate clear-coat 0.0.3 [INFO] tweaked toml for crates.io crate clear-coat 0.0.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iup-sys v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 456e29ffe629726e3ebd87711c9f3c01d5ecaf978674cc69d1e75999dff84d67 [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" "456e29ffe629726e3ebd87711c9f3c01d5ecaf978674cc69d1e75999dff84d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "456e29ffe629726e3ebd87711c9f3c01d5ecaf978674cc69d1e75999dff84d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "456e29ffe629726e3ebd87711c9f3c01d5ecaf978674cc69d1e75999dff84d67", kill_on_drop: false }` [INFO] [stdout] 456e29ffe629726e3ebd87711c9f3c01d5ecaf978674cc69d1e75999dff84d67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e93d86b81b4dbe8228a8c01e8ff1c698b3c6be916fb4f6410ab240ae130b85e8 [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" "e93d86b81b4dbe8228a8c01e8ff1c698b3c6be916fb4f6410ab240ae130b85e8", kill_on_drop: false }` [INFO] [stderr] Compiling iup-sys v0.0.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking clear-coat v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::panic::RecoverSafe` [INFO] [stdout] --> src/callbacks.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::panic::{self, RecoverSafe}; [INFO] [stdout] | ^^^^^^^^^^^ no `RecoverSafe` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::panic::RecoverSafe` [INFO] [stdout] --> src/callbacks.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::panic::{self, RecoverSafe}; [INFO] [stdout] | ^^^^^^^^^^^ no `RecoverSafe` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recover` in module `panic` [INFO] [stdout] --> src/callbacks.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | let result = panic::recover(move || { [INFO] [stdout] | ^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Fill` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_control_traits!(Fill); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Hbox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | impl_control_traits!(Hbox); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Vbox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | impl_control_traits!(Vbox); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `GridBox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | impl_control_traits!(GridBox); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Button` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | impl_control_traits!(Button); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Label` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/label.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_control_traits!(Label); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Menu` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_control_traits!(Menu); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Submenu` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | impl_control_traits!(Submenu); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Item` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | impl_control_traits!(Item); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Separator` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iup-sys-0.0.3/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn IupSeparator() -> *mut Ihandle; [INFO] [stdout] | -------------------------------------- similarly named function `IupSeparator` defined here [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | impl_control_traits!(Separator); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a function with a similar name exists: `IupSeparator` [INFO] [stdout] | in this macro invocation [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Dialog` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dialog.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl_control_traits!(Dialog); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `FileDlg` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/file_dlg.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl_control_traits!(FileDlg); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_thread_id` in this scope [INFO] [stdout] --> src/lib.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let thread_id = get_thread_id(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PANIC_PAYLOAD: RefCell>> = RefCell::new(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PANIC_PAYLOAD: RefCell>> = RefCell::new(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_panic_payload(payload: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take_panic_payload() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:226:63 [INFO] [stdout] | [INFO] [stdout] 226 | reg: &'static LocalKey>) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | control: &'a Control, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(control: &'a Control, reg: &'static LocalKey>) -> Event<'a, F, T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | static DESTROY_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / extern fn destroy_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 265 | | simple_callback(ih, &DESTROY_CALLBACKS) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 273 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | fn destroy_event<'a>(&'a self) -> Event<'a, FnMut(), DestroyCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | Event::new(self as &Control, &DESTROY_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:281:50 [INFO] [stdout] | [INFO] [stdout] 281 | static GET_FOCUS_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / extern fn get_focus_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 285 | | simple_callback(ih, &GET_FOCUS_CALLBACKS) [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:290:51 [INFO] [stdout] | [INFO] [stdout] 290 | static KILL_FOCUS_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern fn kill_focus_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 294 | | simple_callback(ih, &KILL_FOCUS_CALLBACKS) [INFO] [stdout] 295 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:299:53 [INFO] [stdout] | [INFO] [stdout] 299 | static ENTER_WINDOW_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | / extern fn enter_window_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 303 | | simple_callback(ih, &ENTER_WINDOW_CALLBACKS) [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:308:53 [INFO] [stdout] | [INFO] [stdout] 308 | static LEAVE_WINDOW_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / extern fn leave_window_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 312 | | simple_callback(ih, &LEAVE_WINDOW_CALLBACKS) [INFO] [stdout] 313 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:316:51 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_focus_event<'a>(&'a self) -> Event<'a, FnMut(), GetFocusCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | Event::new(self as &Control, &GET_FOCUS_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 322 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | fn kill_focus_event<'a>(&'a self) -> Event<'a, FnMut(), KillFocusCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | Event::new(self as &Control, &KILL_FOCUS_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:329:39 [INFO] [stdout] | [INFO] [stdout] 329 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:328:54 [INFO] [stdout] | [INFO] [stdout] 328 | fn enter_window_event<'a>(&'a self) -> Event<'a, FnMut(), EnterWindowCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | Event::new(self as &Control, &ENTER_WINDOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:334:39 [INFO] [stdout] | [INFO] [stdout] 334 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:333:54 [INFO] [stdout] | [INFO] [stdout] 333 | fn leave_window_event<'a>(&'a self) -> Event<'a, FnMut(), LeaveWindowCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | Event::new(self as &Control, &LEAVE_WINDOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:356:47 [INFO] [stdout] | [INFO] [stdout] 356 | static BUTTON_CALLBACKS: CallbackRegistry CallbackAction, ButtonCallbackToken> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&ButtonArgs) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 359 | / unsafe extern fn button_cb(ih: *mut Ihandle, button: c_int, pressed: c_int, x: c_int, y: c_int, status: *mut c_char) -> c_int { [INFO] [stdout] 360 | | // Maybe the callback should be able to return Ignore (and thus this function return [INFO] [stdout] 361 | | // IUP_IGNORE). My main hesitation is that IUP's docs state that it is system [INFO] [stdout] 362 | | // dependent: "On some controls if IUP_IGNORE is returned the action is ignored (this is [INFO] [stdout] ... | [INFO] [stdout] 381 | | }) [INFO] [stdout] 382 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | fn button_event<'a>(&'a self) -> Event<'a, FnMut(&ButtonArgs) -> CallbackAction, ButtonCallbackToken> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&ButtonArgs) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | Event::new(self as &Control, &BUTTON_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn append(&self, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&self, ref_child: Option<&Control>, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&self, ref_child: Option<&Control>, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_char` [INFO] [stdout] --> src/button.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{c_char, c_int}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn action_event<'a>(&'a self) -> Event<'a, FnMut(), ButtonActionCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Event::new(self as &'a Control, &BUTTON_ACTION_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | static BUTTON_ACTION_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/button.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / extern fn button_action_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 94 | | simple_callback(ih, &BUTTON_ACTION_CALLBACKS) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recover` in module `panic` [INFO] [stdout] --> src/callbacks.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | let result = panic::recover(move || { [INFO] [stdout] | ^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_int` [INFO] [stdout] --> src/label.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{c_char, c_int}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn with_children(children: &[&MenuSubitem]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn MenuSubitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Fill` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_control_traits!(Fill); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn action_event<'a>(&'a self) -> Event<'a, FnMut(), ItemActionCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | Event::new(self as &'a Control, &ITEM_ACTION_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Hbox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | impl_control_traits!(Hbox); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:143:52 [INFO] [stdout] | [INFO] [stdout] 143 | static ITEM_ACTION_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / extern fn item_action_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 147 | | simple_callback(ih, &ITEM_ACTION_CALLBACKS) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Vbox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | impl_control_traits!(Vbox); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn with_child(child: &Control) -> Dialog { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn show_event<'a>(&'a self) -> Event<'a, FnMut(ShowState) -> CallbackAction, ShowCallbackToken> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ShowState) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `GridBox` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/containers.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | impl_control_traits!(GridBox); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | Event::new(self as &Control, &SHOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | static SHOW_CALLBACKS: CallbackRegistry CallbackAction, ShowCallbackToken> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ShowState) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Button` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | impl_control_traits!(Button); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dialog.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / extern fn show_cb(ih: *mut Ihandle, state: c_int) -> c_int { [INFO] [stdout] 158 | | with_callbacks(ih, &SHOW_CALLBACKS, |cbs| { [INFO] [stdout] 159 | | let state = ShowState::from_int(state); [INFO] [stdout] 160 | | [INFO] [stdout] ... | [INFO] [stdout] 169 | | }) [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScreenPosition` [INFO] [stdout] --> src/file_dlg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ScreenPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Label` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/label.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_control_traits!(Label); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle_rc.rs:18:78 [INFO] [stdout] | [INFO] [stdout] 18 | static LDESTROY_CALLBACKS: RefCell)>>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(*mut Ihandle)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle_rc.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn add_ldestroy_callback_inner(ih: *mut Ihandle, cb: Box) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(*mut Ihandle) + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/handle_rc.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / extern fn ldestroy_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 74 | | handle_rc_destroy_cb(ih); [INFO] [stdout] 75 | | LDESTROY_CALLBACKS.with(|cell| { [INFO] [stdout] 76 | | // Putting this line in the if condition will currently cause the HashMap borrow to last [INFO] [stdout] ... | [INFO] [stdout] 85 | | }) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Menu` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_control_traits!(Menu); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Submenu` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | impl_control_traits!(Submenu); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn reparent(&self, new_parent: &Container, ref_child: Option<&Control>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Container` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Item` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | impl_control_traits!(Item); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:67 [INFO] [stdout] | [INFO] [stdout] 187 | fn reparent(&self, new_parent: &Container, ref_child: Option<&Control>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Separator` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iup-sys-0.0.3/src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn IupSeparator() -> *mut Ihandle; [INFO] [stdout] | -------------------------------------- similarly named function `IupSeparator` defined here [INFO] [stdout] | [INFO] [stdout] ::: src/menu.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | impl_control_traits!(Separator); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a function with a similar name exists: `IupSeparator` [INFO] [stdout] | in this macro invocation [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Dialog` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dialog.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl_control_traits!(Dialog); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `FileDlg` [INFO] [stdout] --> src/lib.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | self.0.try_unwrap().map_err(|handle_rc| ::$control(handle_rc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/file_dlg.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl_control_traits!(FileDlg); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_thread_id` in this scope [INFO] [stdout] --> src/lib.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let thread_id = get_thread_id(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PANIC_PAYLOAD: RefCell>> = RefCell::new(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | static PANIC_PAYLOAD: RefCell>> = RefCell::new(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_panic_payload(payload: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn take_panic_payload() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:226:63 [INFO] [stdout] | [INFO] [stdout] 226 | reg: &'static LocalKey>) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | control: &'a Control, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn new(control: &'a Control, reg: &'static LocalKey>) -> Event<'a, F, T> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | static DESTROY_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / extern fn destroy_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 265 | | simple_callback(ih, &DESTROY_CALLBACKS) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 273 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | fn destroy_event<'a>(&'a self) -> Event<'a, FnMut(), DestroyCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | Event::new(self as &Control, &DESTROY_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:281:50 [INFO] [stdout] | [INFO] [stdout] 281 | static GET_FOCUS_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / extern fn get_focus_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 285 | | simple_callback(ih, &GET_FOCUS_CALLBACKS) [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:290:51 [INFO] [stdout] | [INFO] [stdout] 290 | static KILL_FOCUS_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | / extern fn kill_focus_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 294 | | simple_callback(ih, &KILL_FOCUS_CALLBACKS) [INFO] [stdout] 295 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:299:53 [INFO] [stdout] | [INFO] [stdout] 299 | static ENTER_WINDOW_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | / extern fn enter_window_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 303 | | simple_callback(ih, &ENTER_WINDOW_CALLBACKS) [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:308:53 [INFO] [stdout] | [INFO] [stdout] 308 | static LEAVE_WINDOW_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / extern fn leave_window_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 312 | | simple_callback(ih, &LEAVE_WINDOW_CALLBACKS) [INFO] [stdout] 313 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 317 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:316:51 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_focus_event<'a>(&'a self) -> Event<'a, FnMut(), GetFocusCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | Event::new(self as &Control, &GET_FOCUS_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 322 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:321:52 [INFO] [stdout] | [INFO] [stdout] 321 | fn kill_focus_event<'a>(&'a self) -> Event<'a, FnMut(), KillFocusCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | Event::new(self as &Control, &KILL_FOCUS_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:329:39 [INFO] [stdout] | [INFO] [stdout] 329 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:328:54 [INFO] [stdout] | [INFO] [stdout] 328 | fn enter_window_event<'a>(&'a self) -> Event<'a, FnMut(), EnterWindowCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | Event::new(self as &Control, &ENTER_WINDOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:334:39 [INFO] [stdout] | [INFO] [stdout] 334 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:333:54 [INFO] [stdout] | [INFO] [stdout] 333 | fn leave_window_event<'a>(&'a self) -> Event<'a, FnMut(), LeaveWindowCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | Event::new(self as &Control, &LEAVE_WINDOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:356:47 [INFO] [stdout] | [INFO] [stdout] 356 | static BUTTON_CALLBACKS: CallbackRegistry CallbackAction, ButtonCallbackToken> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&ButtonArgs) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/callbacks.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 359 | / unsafe extern fn button_cb(ih: *mut Ihandle, button: c_int, pressed: c_int, x: c_int, y: c_int, status: *mut c_char) -> c_int { [INFO] [stdout] 360 | | // Maybe the callback should be able to return Ignore (and thus this function return [INFO] [stdout] 361 | | // IUP_IGNORE). My main hesitation is that IUP's docs state that it is system [INFO] [stdout] 362 | | // dependent: "On some controls if IUP_IGNORE is returned the action is ignored (this is [INFO] [stdout] ... | [INFO] [stdout] 381 | | }) [INFO] [stdout] 382 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | fn button_event<'a>(&'a self) -> Event<'a, FnMut(&ButtonArgs) -> CallbackAction, ButtonCallbackToken> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&ButtonArgs) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/callbacks.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | Event::new(self as &Control, &BUTTON_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn append(&self, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&self, ref_child: Option<&Control>, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert(&self, ref_child: Option<&Control>, new_child: &Control) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/containers.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn with_children(children: &[&::Control]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Control)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_char` [INFO] [stdout] --> src/button.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{c_char, c_int}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn action_event<'a>(&'a self) -> Event<'a, FnMut(), ButtonActionCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Event::new(self as &'a Control, &BUTTON_ACTION_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | static BUTTON_ACTION_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/button.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / extern fn button_action_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 94 | | simple_callback(ih, &BUTTON_ACTION_CALLBACKS) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_int` [INFO] [stdout] --> src/label.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{c_char, c_int}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn with_children(children: &[&MenuSubitem]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn MenuSubitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn action_event<'a>(&'a self) -> Event<'a, FnMut(), ItemActionCallbackToken> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | Event::new(self as &'a Control, &ITEM_ACTION_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu.rs:143:52 [INFO] [stdout] | [INFO] [stdout] 143 | static ITEM_ACTION_CALLBACKS: CallbackRegistry = [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/menu.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / extern fn item_action_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 147 | | simple_callback(ih, &ITEM_ACTION_CALLBACKS) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn with_child(child: &Control) -> Dialog { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:78:48 [INFO] [stdout] | [INFO] [stdout] 78 | use std::sync::atomic::{AtomicIsize, Ordering, ATOMIC_ISIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | where &'a Self: CoerceUnsized<&'a Control> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:114:50 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn show_event<'a>(&'a self) -> Event<'a, FnMut(ShowState) -> CallbackAction, ShowCallbackToken> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ShowState) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | static THREAD_ID: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicIsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | Event::new(self as &Control, &SHOW_CALLBACKS) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dialog.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | static SHOW_CALLBACKS: CallbackRegistry CallbackAction, ShowCallbackToken> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ShowState) -> CallbackAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/dialog.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / extern fn show_cb(ih: *mut Ihandle, state: c_int) -> c_int { [INFO] [stdout] 158 | | with_callbacks(ih, &SHOW_CALLBACKS, |cbs| { [INFO] [stdout] 159 | | let state = ShowState::from_int(state); [INFO] [stdout] 160 | | [INFO] [stdout] ... | [INFO] [stdout] 169 | | }) [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScreenPosition` [INFO] [stdout] --> src/file_dlg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ScreenPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle_rc.rs:18:78 [INFO] [stdout] | [INFO] [stdout] 18 | static LDESTROY_CALLBACKS: RefCell)>>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(*mut Ihandle)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle_rc.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn add_ldestroy_callback_inner(ih: *mut Ihandle, cb: Box) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(*mut Ihandle) + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/handle_rc.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / extern fn ldestroy_cb(ih: *mut Ihandle) -> c_int { [INFO] [stdout] 74 | | handle_rc_destroy_cb(ih); [INFO] [stdout] 75 | | LDESTROY_CALLBACKS.with(|cell| { [INFO] [stdout] 76 | | // Putting this line in the if condition will currently cause the HashMap borrow to last [INFO] [stdout] ... | [INFO] [stdout] 85 | | }) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn reparent(&self, new_parent: &Container, ref_child: Option<&Control>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Container` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:67 [INFO] [stdout] | [INFO] [stdout] 187 | fn reparent(&self, new_parent: &Container, ref_child: Option<&Control>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clear-coat`. [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:78:48 [INFO] [stdout] | [INFO] [stdout] 78 | use std::sync::atomic::{AtomicIsize, Ordering, ATOMIC_ISIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_ISIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | static THREAD_ID: AtomicIsize = ATOMIC_ISIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicIsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 25 previous errors; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e93d86b81b4dbe8228a8c01e8ff1c698b3c6be916fb4f6410ab240ae130b85e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93d86b81b4dbe8228a8c01e8ff1c698b3c6be916fb4f6410ab240ae130b85e8", kill_on_drop: false }` [INFO] [stdout] e93d86b81b4dbe8228a8c01e8ff1c698b3c6be916fb4f6410ab240ae130b85e8