[INFO] cloning repository https://github.com/WillemMali/rust-iup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WillemMali/rust-iup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillemMali%2Frust-iup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillemMali%2Frust-iup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a99714b7b3d9665a7b2b394db2593a977072e71 [INFO] checking WillemMali/rust-iup against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillemMali%2Frust-iup" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WillemMali/rust-iup on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WillemMali/rust-iup [INFO] finished tweaking git repo https://github.com/WillemMali/rust-iup [INFO] tweaked toml for git repo https://github.com/WillemMali/rust-iup written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WillemMali/rust-iup already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dcampbell24/iup-rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dec5f4390bff6d224976e505a2bf00a68abc2b5b0f3dd441a7f59bd1992adc94 [INFO] running `Command { std: "docker" "start" "-a" "dec5f4390bff6d224976e505a2bf00a68abc2b5b0f3dd441a7f59bd1992adc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dec5f4390bff6d224976e505a2bf00a68abc2b5b0f3dd441a7f59bd1992adc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec5f4390bff6d224976e505a2bf00a68abc2b5b0f3dd441a7f59bd1992adc94", kill_on_drop: false }` [INFO] [stdout] dec5f4390bff6d224976e505a2bf00a68abc2b5b0f3dd441a7f59bd1992adc94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d3bffacdbdfc435d51fd434ee0913c0a9bb58d411c780a1bbb6c1b602a1ba1 [INFO] running `Command { std: "docker" "start" "-a" "f5d3bffacdbdfc435d51fd434ee0913c0a9bb58d411c780a1bbb6c1b602a1ba1", kill_on_drop: false }` [INFO] [stderr] Compiling iup-sys v0.0.3 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking iup v0.0.3 (https://github.com/dcampbell24/iup-rust#3daddd1f) [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / impl_callback! { [INFO] [stdout] 14 | | let name = "_IUPRUST_CLOSE_CB"; [INFO] [stdout] 15 | | extern fn listener() -> CallbackReturn; [INFO] [stdout] 16 | | #[doc="Action generated when IUP closes (i.e. at the end of `with_iup`)."] [INFO] [stdout] ... | [INFO] [stdout] 19 | | pub fn remove_close_cb() -> Option>; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn() -> i32 {set_close_cb::listener} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / impl_callback! { [INFO] [stdout] 14 | | let name = "_IUPRUST_CLOSE_CB"; [INFO] [stdout] 15 | | extern fn listener() -> CallbackReturn; [INFO] [stdout] 16 | | #[doc="Action generated when IUP closes (i.e. at the end of `with_iup`)."] [INFO] [stdout] ... | [INFO] [stdout] 19 | | pub fn remove_close_cb() -> Option>; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn() -> i32 {set_close_cb::listener} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl_callback! { [INFO] [stdout] 23 | | let name = "IDLE_ACTION"; [INFO] [stdout] 24 | | extern fn listener() -> CallbackReturn; [INFO] [stdout] 25 | | #[doc="Action generated when there are no events or messages to be processed."] [INFO] [stdout] ... | [INFO] [stdout] 30 | | pub fn remove_idle() -> Option>; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn() -> i32 {set_idle::listener} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl_callback! { [INFO] [stdout] 23 | | let name = "IDLE_ACTION"; [INFO] [stdout] 24 | | extern fn listener() -> CallbackReturn; [INFO] [stdout] 25 | | #[doc="Action generated when there are no events or messages to be processed."] [INFO] [stdout] ... | [INFO] [stdout] 30 | | pub fn remove_idle() -> Option>; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn() -> i32 {set_idle::listener} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl_callback! { [INFO] [stdout] 39 | | #[doc="Action generated when the element is activated. Affects each element differently."] [INFO] [stdout] 40 | | #[doc=""] [INFO] [stdout] 41 | | #[doc="See the documentation of the `Self` object for the effect of this callback on it."] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::Action::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl_callback! { [INFO] [stdout] 39 | | #[doc="Action generated when the element is activated. Affects each element differently."] [INFO] [stdout] 40 | | #[doc=""] [INFO] [stdout] 41 | | #[doc="See the documentation of the `Self` object for the effect of this callback on it."] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::Action::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_callback! { [INFO] [stdout] 51 | | #[doc="Action generated when the element is activated. Affects each element differently."] [INFO] [stdout] 52 | | #[doc=""] [INFO] [stdout] 53 | | #[doc="See the documentation of the `Self` object for the effect of this callback on it."] [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::ActionCb::set_action_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl_callback! { [INFO] [stdout] 51 | | #[doc="Action generated when the element is activated. Affects each element differently."] [INFO] [stdout] 52 | | #[doc=""] [INFO] [stdout] 53 | | #[doc="See the documentation of the `Self` object for the effect of this callback on it."] [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::ActionCb::set_action_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_callback! { [INFO] [stdout] 72 | | #[doc="Called right before an element is destroyed."] [INFO] [stdout] 73 | | pub trait DestroyCb where Self: Element { [INFO] [stdout] 74 | | let name = "LDESTROY_CB"; // See comments above for reason behind LDESTROY_CB. [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::DestroyCb::set_destroy_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_callback! { [INFO] [stdout] 72 | | #[doc="Called right before an element is destroyed."] [INFO] [stdout] 73 | | pub trait DestroyCb where Self: Element { [INFO] [stdout] 74 | | let name = "LDESTROY_CB"; // See comments above for reason behind LDESTROY_CB. [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::DestroyCb::set_destroy_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / impl_callback! { [INFO] [stdout] 82 | | #[doc="Called right after an element is mapped and its attributes updated in `Widget::map`."] [INFO] [stdout] 83 | | #[doc=""] [INFO] [stdout] 84 | | #[doc="When the element is a dialog, it is called after the layout is updated. For all other"] [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::MapCb::set_map_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / impl_callback! { [INFO] [stdout] 82 | | #[doc="Called right after an element is mapped and its attributes updated in `Widget::map`."] [INFO] [stdout] 83 | | #[doc=""] [INFO] [stdout] 84 | | #[doc="When the element is a dialog, it is called after the layout is updated. For all other"] [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::MapCb::set_map_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_callback! { [INFO] [stdout] 96 | | #[doc="Called right before an element is unmapped."] [INFO] [stdout] 97 | | pub trait UnmapCb where Self: Element { [INFO] [stdout] 98 | | let name = "UNMAP_CB"; [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::UnmapCb::set_unmap_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_callback! { [INFO] [stdout] 96 | | #[doc="Called right before an element is unmapped."] [INFO] [stdout] 97 | | pub trait UnmapCb where Self: Element { [INFO] [stdout] 98 | | let name = "UNMAP_CB"; [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::UnmapCb::set_unmap_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / impl_callback! { [INFO] [stdout] 106 | | #[doc="Action generated when an element is given keyboard focus."] [INFO] [stdout] 107 | | #[doc=""] [INFO] [stdout] 108 | | #[doc="This callback is called after the `KillFocusCb` of the element that loosed the focus."] [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::GetFocusCb::set_getfocus_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / impl_callback! { [INFO] [stdout] 106 | | #[doc="Action generated when an element is given keyboard focus."] [INFO] [stdout] 107 | | #[doc=""] [INFO] [stdout] 108 | | #[doc="This callback is called after the `KillFocusCb` of the element that loosed the focus."] [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::GetFocusCb::set_getfocus_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_callback! { [INFO] [stdout] 119 | | #[doc="Action generated when an element loses keyboard focus."] [INFO] [stdout] 120 | | #[doc=""] [INFO] [stdout] 121 | | #[doc="This callback is called before the `GetFocusCb` of the element that gets the focus."] [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::KillFocusCb::set_killfocus_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl_callback! { [INFO] [stdout] 119 | | #[doc="Action generated when an element loses keyboard focus."] [INFO] [stdout] 120 | | #[doc=""] [INFO] [stdout] 121 | | #[doc="This callback is called before the `GetFocusCb` of the element that gets the focus."] [INFO] [stdout] ... | [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::KillFocusCb::set_killfocus_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / impl_callback! { [INFO] [stdout] 135 | | #[doc="Action generated when the mouse enters the native element."] [INFO] [stdout] 136 | | #[doc=""] [INFO] [stdout] 137 | | #[doc="When the cursor is moved from one element to another, the call order in all platforms will"] [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::EnterWindowCb::set_enterwindow_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | / impl_callback! { [INFO] [stdout] 135 | | #[doc="Action generated when the mouse enters the native element."] [INFO] [stdout] 136 | | #[doc=""] [INFO] [stdout] 137 | | #[doc="When the cursor is moved from one element to another, the call order in all platforms will"] [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::EnterWindowCb::set_enterwindow_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / impl_callback! { [INFO] [stdout] 149 | | #[doc="Action generated when the mouse leaves the native element."] [INFO] [stdout] 150 | | #[doc=""] [INFO] [stdout] 151 | | #[doc="When the cursor is moved from one element to another, the call order in all platforms will"] [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::LeaveWindowCb::set_leavewindow_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / impl_callback! { [INFO] [stdout] 149 | | #[doc="Action generated when the mouse leaves the native element."] [INFO] [stdout] 150 | | #[doc=""] [INFO] [stdout] 151 | | #[doc="When the cursor is moved from one element to another, the call order in all platforms will"] [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::LeaveWindowCb::set_leavewindow_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / impl_callback! { [INFO] [stdout] 163 | | #[doc="Action generated when the user press F1 at a control."] [INFO] [stdout] 164 | | #[doc=""] [INFO] [stdout] 165 | | #[doc="`CallbackReturn::Close` will be processed."] [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::HelpCb::set_help_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / impl_callback! { [INFO] [stdout] 163 | | #[doc="Action generated when the user press F1 at a control."] [INFO] [stdout] 164 | | #[doc=""] [INFO] [stdout] 165 | | #[doc="`CallbackReturn::Close` will be processed."] [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::HelpCb::set_help_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / impl_callback! { [INFO] [stdout] 178 | | #[doc="Action generated when the caret/cursor position is changed."] [INFO] [stdout] 179 | | #[doc=""] [INFO] [stdout] 180 | | #[doc="The second and third parameters are the line and column number (start at 1)."] [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32) -> i32 {callbacks::CaretCb::set_caret_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / impl_callback! { [INFO] [stdout] 178 | | #[doc="Action generated when the caret/cursor position is changed."] [INFO] [stdout] 179 | | #[doc=""] [INFO] [stdout] 180 | | #[doc="The second and third parameters are the line and column number (start at 1)."] [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32) -> i32 {callbacks::CaretCb::set_caret_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / impl_callback! { [INFO] [stdout] 191 | | #[doc="Action generated when a spin button is pressed."] [INFO] [stdout] 192 | | pub trait SpinCb where Self: Element { [INFO] [stdout] 193 | | let name = "SPIN_CB"; [INFO] [stdout] ... | [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {callbacks::SpinCb::set_spin_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | / impl_callback! { [INFO] [stdout] 191 | | #[doc="Action generated when a spin button is pressed."] [INFO] [stdout] 192 | | pub trait SpinCb where Self: Element { [INFO] [stdout] 193 | | let name = "SPIN_CB"; [INFO] [stdout] ... | [INFO] [stdout] 197 | | } [INFO] [stdout] 198 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {callbacks::SpinCb::set_spin_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_callback! { [INFO] [stdout] 201 | | #[doc="Usually called after the value of a control changed."] [INFO] [stdout] 202 | | #[doc=""] [INFO] [stdout] 203 | | #[doc="See the specific control documentation for more details."] [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::ValueChangedCb::set_valuechanged_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / impl_callback! { [INFO] [stdout] 201 | | #[doc="Usually called after the value of a control changed."] [INFO] [stdout] 202 | | #[doc=""] [INFO] [stdout] 203 | | #[doc="See the specific control documentation for more details."] [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] 210 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::ValueChangedCb::set_valuechanged_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / impl_callback! { [INFO] [stdout] 214 | | #[doc="Action called when a file is *dropped* into the control."] [INFO] [stdout] 215 | | #[doc=""] [INFO] [stdout] 216 | | #[doc="When several files are dropped at once, the callback is called several times, once for"] [INFO] [stdout] ... | [INFO] [stdout] 238 | | } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32, i32, i32) -> i32 {callbacks::DropFilesCb::set_dropfiles_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / impl_callback! { [INFO] [stdout] 214 | | #[doc="Action called when a file is *dropped* into the control."] [INFO] [stdout] 215 | | #[doc=""] [INFO] [stdout] 216 | | #[doc="When several files are dropped at once, the callback is called several times, once for"] [INFO] [stdout] ... | [INFO] [stdout] 238 | | } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32, i32, i32) -> i32 {callbacks::DropFilesCb::set_dropfiles_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / impl_callback! { [INFO] [stdout] 242 | | #[doc="Called just before a dialog is closed when the user clicks the close button of the title bar"] [INFO] [stdout] 243 | | #[doc="or an equivalent action."] [INFO] [stdout] 244 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::CloseCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / impl_callback! { [INFO] [stdout] 242 | | #[doc="Called just before a dialog is closed when the user clicks the close button of the title bar"] [INFO] [stdout] 243 | | #[doc="or an equivalent action."] [INFO] [stdout] 244 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 253 | | } [INFO] [stdout] 254 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {callbacks::CloseCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / impl_callback! { [INFO] [stdout] 257 | | #[doc="Called after the widget is moved, see it's documentation for more details."] [INFO] [stdout] 258 | | pub trait MoveCb where Self: Element { [INFO] [stdout] 259 | | let name = "MOVE_CB"; [INFO] [stdout] ... | [INFO] [stdout] 263 | | } [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32) -> i32 {callbacks::MoveCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / impl_callback! { [INFO] [stdout] 257 | | #[doc="Called after the widget is moved, see it's documentation for more details."] [INFO] [stdout] 258 | | pub trait MoveCb where Self: Element { [INFO] [stdout] 259 | | let name = "MOVE_CB"; [INFO] [stdout] ... | [INFO] [stdout] 263 | | } [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32) -> i32 {callbacks::MoveCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / impl_callback! { [INFO] [stdout] 268 | | #[doc="Action generated when the canvas or dialog size is changed."] [INFO] [stdout] 269 | | pub trait ResizeCb where Self: Element { [INFO] [stdout] 270 | | let name = "RESIZE_CB"; [INFO] [stdout] ... | [INFO] [stdout] 274 | | } [INFO] [stdout] 275 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32) -> i32 {callbacks::ResizeCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/callbacks.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / impl_callback! { [INFO] [stdout] 268 | | #[doc="Action generated when the canvas or dialog size is changed."] [INFO] [stdout] 269 | | pub trait ResizeCb where Self: Element { [INFO] [stdout] 270 | | let name = "RESIZE_CB"; [INFO] [stdout] ... | [INFO] [stdout] 274 | | } [INFO] [stdout] 275 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32) -> i32 {callbacks::ResizeCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/button.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / impl_callback! { [INFO] [stdout] 141 | | /// Action generated when a mouse button is pressed or released. [INFO] [stdout] 142 | | /// [INFO] [stdout] 143 | | /// The `Button` parameter identifies the activated mouse button that triggered the action. [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32, i32, *mut i8) -> i32 {ButtonCb::set_button_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/button.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / impl_callback! { [INFO] [stdout] 141 | | /// Action generated when a mouse button is pressed or released. [INFO] [stdout] 142 | | /// [INFO] [stdout] 143 | | /// The `Button` parameter identifies the activated mouse button that triggered the action. [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32, i32, *mut i8) -> i32 {ButtonCb::set_button_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/button.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / impl_callback! { [INFO] [stdout] 168 | | /// Action generated when the mouse moves. [INFO] [stdout] 169 | | /// [INFO] [stdout] 170 | | /// The `i32` parameters are the x,y position in the canvas where the event has occurred, [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, *mut i8) -> i32 {MotionCb::set_motion_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/button.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / impl_callback! { [INFO] [stdout] 168 | | /// Action generated when the mouse moves. [INFO] [stdout] 169 | | /// [INFO] [stdout] 170 | | /// The `i32` parameters are the x,y position in the canvas where the event has occurred, [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, *mut i8) -> i32 {MotionCb::set_motion_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_callback! { [INFO] [stdout] 72 | | #[doc="[Windows Only]: Called at the first instance, when a second instance is running."] [INFO] [stdout] 73 | | #[doc=""] [INFO] [stdout] 74 | | #[doc="Must set the global attribute SINGLEINSTANCE to be called."] [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32) -> i32 {CopyDataCb::set_copydata_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl_callback! { [INFO] [stdout] 72 | | #[doc="[Windows Only]: Called at the first instance, when a second instance is running."] [INFO] [stdout] 73 | | #[doc=""] [INFO] [stdout] 74 | | #[doc="Must set the global attribute SINGLEINSTANCE to be called."] [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32) -> i32 {CopyDataCb::set_copydata_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_callback! { [INFO] [stdout] 90 | | #[doc="[Windows Only]: Called when a MDI child window is activated."] [INFO] [stdout] 91 | | #[doc=""] [INFO] [stdout] 92 | | #[doc="Only the MDI child receive this message. It is not called when the child is shown for the"] [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {MdiActivateCb::set_mdiactivate_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_callback! { [INFO] [stdout] 90 | | #[doc="[Windows Only]: Called when a MDI child window is activated."] [INFO] [stdout] 91 | | #[doc=""] [INFO] [stdout] 92 | | #[doc="Only the MDI child receive this message. It is not called when the child is shown for the"] [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle) -> i32 {MdiActivateCb::set_mdiactivate_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / impl_callback! { [INFO] [stdout] 106 | | #[doc="Called right after the dialog is showed, hidden, maximized, minimized or restored from"] [INFO] [stdout] 107 | | #[doc="minimized/maximized."] [INFO] [stdout] 108 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {ShowCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / impl_callback! { [INFO] [stdout] 106 | | #[doc="Called right after the dialog is showed, hidden, maximized, minimized or restored from"] [INFO] [stdout] 107 | | #[doc="minimized/maximized."] [INFO] [stdout] 108 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {ShowCb::set_move_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / impl_callback! { [INFO] [stdout] 122 | | #[doc="[Windows and GTK Only]: Called right after the mouse button is pressed or released over"] [INFO] [stdout] 123 | | #[doc="the tray icon."] [INFO] [stdout] 124 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32) -> i32 {TrayClickCb::set_trayclick_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/dialog.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / impl_callback! { [INFO] [stdout] 122 | | #[doc="[Windows and GTK Only]: Called right after the mouse button is pressed or released over"] [INFO] [stdout] 123 | | #[doc="the tray icon."] [INFO] [stdout] 124 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, i32, i32) -> i32 {TrayClickCb::set_trayclick_cb::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `[PathBuf; 1]` cannot be built from an iterator over elements of type `PathBuf` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/file.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | ... .collect()) [INFO] [stdout] | ^^^^^^^ value of type `[PathBuf; 1]` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `[PathBuf; 1]` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/file.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 27 | let values = value.split_terminator('|').collect::>(); [INFO] [stdout] | ----- --------------------- `Iterator::Item` is `&str` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `String` [INFO] [stdout] ... [INFO] [stdout] 35 | Some(values.into_iter().skip(1) [INFO] [stdout] | ----------- ------- `Iterator::Item` remains `&str` here [INFO] [stdout] | | [INFO] [stdout] | `Iterator::Item` is `&str` here [INFO] [stdout] 36 | .map(|file| path.join(file)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `PathBuf` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:2001:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/dialog/file.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn files(&self) -> Option> { [INFO] [stdout] | -------------------- expected `Option>` because of return type [INFO] [stdout] 26 | / self.attrib("VALUE").and_then(|value| { [INFO] [stdout] 27 | | let values = value.split_terminator('|').collect::>(); [INFO] [stdout] 28 | | match values.len() { [INFO] [stdout] 29 | | 0 => None, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | }) [INFO] [stdout] | |__________^ expected `Option>`, found `Option<[PathBuf; 1]>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option<[PathBuf; 1]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/text.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / impl_callback! { [INFO] [stdout] 99 | | #[doc="Action generated when the text is edited, but before its value is actually changed."] [INFO] [stdout] 100 | | #[doc=""] [INFO] [stdout] 101 | | #[doc="Can be generated when using the keyboard, undo system or from the clipboard."] [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, *const i8) -> i32 {TextAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/text.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / impl_callback! { [INFO] [stdout] 99 | | #[doc="Action generated when the text is edited, but before its value is actually changed."] [INFO] [stdout] 100 | | #[doc=""] [INFO] [stdout] 101 | | #[doc="Can be generated when using the keyboard, undo system or from the clipboard."] [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32, *const i8) -> i32 {TextAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/toggle.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / impl_callback! { [INFO] [stdout] 42 | | #[doc="Action generated when the toggle's state (on/off) was changed."] [INFO] [stdout] 43 | | #[doc=""] [INFO] [stdout] 44 | | #[doc="The callback boolean parameter represents the state the toggle was switched to."] [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {ToggleAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/toggle.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / impl_callback! { [INFO] [stdout] 42 | | #[doc="Action generated when the toggle's state (on/off) was changed."] [INFO] [stdout] 43 | | #[doc=""] [INFO] [stdout] 44 | | #[doc="The callback boolean parameter represents the state the toggle was switched to."] [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, i32) -> i32 {ToggleAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | iup_sys::IupSetFunction(cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/list.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl_callback! { [INFO] [stdout] 108 | | #[doc="Action generated when the state of an item in the list is changed."] [INFO] [stdout] 109 | | #[doc="Also provides information on the changed item."] [INFO] [stdout] 110 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32, i32) -> i32 {ListAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/callback/macros.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | iup_sys::IupSetCallback(ih, cstr!($cb_name), transmute($clistener)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/iup-rust-848a7d570fe350d7/3daddd1/src/control/list.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl_callback! { [INFO] [stdout] 108 | | #[doc="Action generated when the state of an item in the list is changed."] [INFO] [stdout] 109 | | #[doc="Also provides information on the changed item."] [INFO] [stdout] 110 | | #[doc=""] [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: extern "C" fn(*mut Ihandle, *const i8, i32, i32) -> i32 {ListAction::set_action::listener::} [INFO] [stdout] = note: target type: extern "C" fn(*mut Ihandle) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] = note: this error originates in the macro `set_fbox_callback` which comes from the expansion of the macro `impl_callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0591. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iup` (lib) due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "f5d3bffacdbdfc435d51fd434ee0913c0a9bb58d411c780a1bbb6c1b602a1ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d3bffacdbdfc435d51fd434ee0913c0a9bb58d411c780a1bbb6c1b602a1ba1", kill_on_drop: false }` [INFO] [stdout] f5d3bffacdbdfc435d51fd434ee0913c0a9bb58d411c780a1bbb6c1b602a1ba1