[INFO] cloning repository https://github.com/colbyn/web-images-c-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colbyn/web-images-c-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolbyn%2Fweb-images-c-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolbyn%2Fweb-images-c-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 111d6b0849709076d6fe5fd1b24e0396ea28396f [INFO] checking colbyn/web-images-c-api against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolbyn%2Fweb-images-c-api" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colbyn/web-images-c-api 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 git repo https://github.com/colbyn/web-images-c-api [INFO] finished tweaking git repo https://github.com/colbyn/web-images-c-api [INFO] tweaked toml for git repo https://github.com/colbyn/web-images-c-api written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/colbyn/web-images-c-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a6a28ef43adfa49bcb6e9c881182c84e8cd7004b9dd85494724a9fb2d9b85ccc [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" "a6a28ef43adfa49bcb6e9c881182c84e8cd7004b9dd85494724a9fb2d9b85ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a28ef43adfa49bcb6e9c881182c84e8cd7004b9dd85494724a9fb2d9b85ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a28ef43adfa49bcb6e9c881182c84e8cd7004b9dd85494724a9fb2d9b85ccc", kill_on_drop: false }` [INFO] [stdout] a6a28ef43adfa49bcb6e9c881182c84e8cd7004b9dd85494724a9fb2d9b85ccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 0aef4ca70d791ee1e9c0e5246f4b2116f76019effa223c4c2e027269280a1f6e [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" "0aef4ca70d791ee1e9c0e5246f4b2116f76019effa223c4c2e027269280a1f6e", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.9.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rayon-core v1.6.0 [INFO] [stderr] Checking colourado v0.2.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking imageproc v0.19.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling web-images-cabi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / pub unsafe extern fn wi_img_is_ok(ctx: *const WiImage) -> c_int { [INFO] [stdout] 84 | | if ctx.is_null() { [INFO] [stdout] 85 | | return 0; [INFO] [stdout] 86 | | } [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [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] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / pub unsafe extern fn wi_img_is_err(ctx: *const WiImage) -> c_int { [INFO] [stdout] 95 | | if ctx.is_null() { [INFO] [stdout] 96 | | return 1; [INFO] [stdout] 97 | | } [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / pub unsafe extern fn wi_img_get_err_msg(ctx: *const WiImage) -> *const c_char { [INFO] [stdout] 106 | | if ctx.is_null() { [INFO] [stdout] 107 | | return std::ptr::null(); [INFO] [stdout] 108 | | } [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / pub unsafe extern fn wi_grayimg_is_ok(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 120 | | if ctx.is_null() { [INFO] [stdout] 121 | | return 0; [INFO] [stdout] 122 | | } [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub unsafe extern fn wi_grayimg_is_err(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 131 | | if ctx.is_null() { [INFO] [stdout] 132 | | return 1; [INFO] [stdout] 133 | | } [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / pub unsafe extern fn wi_grayimg_get_err_msg(ctx: *const WiGrayImage) -> *const c_char { [INFO] [stdout] 142 | | if ctx.is_null() { [INFO] [stdout] 143 | | return std::ptr::null(); [INFO] [stdout] 144 | | } [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub unsafe extern fn wi_grayimg_u32_is_ok(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 156 | | if ctx.is_null() { [INFO] [stdout] 157 | | return 0; [INFO] [stdout] 158 | | } [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / pub unsafe extern fn wi_grayimg_u32_is_err(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 167 | | if ctx.is_null() { [INFO] [stdout] 168 | | return 1; [INFO] [stdout] 169 | | } [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / pub unsafe extern fn wi_grayimg_u32_get_err_msg(ctx: *const WiGrayImageU32) -> *const c_char { [INFO] [stdout] 178 | | if ctx.is_null() { [INFO] [stdout] 179 | | return std::ptr::null(); [INFO] [stdout] 180 | | } [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / pub unsafe extern fn wi_img_clone(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 198 | | if ctx.is_null() { [INFO] [stdout] 199 | | return std::ptr::null_mut(); [INFO] [stdout] 200 | | } [INFO] [stdout] ... | [INFO] [stdout] 206 | | Box::into_raw(result) [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | / pub unsafe extern fn wi_img_free(ctx: *mut WiImage) { [INFO] [stdout] 211 | | if !ctx.is_null() { [INFO] [stdout] 212 | | let value = Box::from_raw(ctx); [INFO] [stdout] 213 | | std::mem::drop(value); [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / pub unsafe extern fn wi_grayimg_clone(ctx: *const WiGrayImage) -> *mut WiGrayImage { [INFO] [stdout] 219 | | if ctx.is_null() { [INFO] [stdout] 220 | | return std::ptr::null_mut(); [INFO] [stdout] 221 | | } [INFO] [stdout] ... | [INFO] [stdout] 227 | | Box::into_raw(result) [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | / pub unsafe extern fn wi_grayimg_free(ctx: *mut WiGrayImage) { [INFO] [stdout] 232 | | if !ctx.is_null() { [INFO] [stdout] 233 | | let value = Box::from_raw(ctx); [INFO] [stdout] 234 | | std::mem::drop(value); [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / pub unsafe extern fn wi_grayimg_u32_clone(ctx: *const WiGrayImageU32) -> *mut WiGrayImageU32 { [INFO] [stdout] 240 | | if ctx.is_null() { [INFO] [stdout] 241 | | return std::ptr::null_mut(); [INFO] [stdout] 242 | | } [INFO] [stdout] ... | [INFO] [stdout] 248 | | Box::into_raw(result) [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / pub unsafe extern fn wi_grayimg_u32_free(ctx: *mut WiGrayImageU32) { [INFO] [stdout] 253 | | if !ctx.is_null() { [INFO] [stdout] 254 | | let value = Box::from_raw(ctx); [INFO] [stdout] 255 | | std::mem::drop(value); [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / pub unsafe extern fn wi_img_to_luma(ctx: *const WiImage) -> *mut WiGrayImage { [INFO] [stdout] 266 | | if ctx.is_null() { [INFO] [stdout] 267 | | return std::ptr::null_mut(); [INFO] [stdout] 268 | | } [INFO] [stdout] ... | [INFO] [stdout] 274 | | Box::into_raw(result) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / pub unsafe extern fn wi_grayimg_to_img(ctx: *const WiGrayImage) -> *mut WiImage { [INFO] [stdout] 280 | | if ctx.is_null() { [INFO] [stdout] 281 | | return std::ptr::null_mut(); [INFO] [stdout] 282 | | } [INFO] [stdout] ... | [INFO] [stdout] 288 | | Box::into_raw(result) [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | / pub unsafe extern fn wi_grayimg_u32_to_img_with_pretty_labels(ctx: *const WiGrayImageU32) -> *mut WiImage { [INFO] [stdout] 293 | | fn random_color_map(keys: HashSet) -> HashMap> { [INFO] [stdout] 294 | | use colourado::{Color, ColorPalette, PaletteType}; [INFO] [stdout] 295 | | let palette = ColorPalette::new(keys.len() as u32, PaletteType::Random, false); [INFO] [stdout] ... | [INFO] [stdout] 335 | | Box::into_raw(result) [INFO] [stdout] 336 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / pub unsafe extern fn wi_img_is_ok(ctx: *const WiImage) -> c_int { [INFO] [stdout] 84 | | if ctx.is_null() { [INFO] [stdout] 85 | | return 0; [INFO] [stdout] 86 | | } [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [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] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / pub unsafe extern fn wi_img_open(path: *const c_char) -> *mut WiImage { [INFO] [stdout] 346 | | if path.is_null() { [INFO] [stdout] 347 | | return std::ptr::null_mut(); [INFO] [stdout] 348 | | } [INFO] [stdout] ... | [INFO] [stdout] 356 | | Box::into_raw(result) [INFO] [stdout] 357 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / pub unsafe extern fn wi_img_is_err(ctx: *const WiImage) -> c_int { [INFO] [stdout] 95 | | if ctx.is_null() { [INFO] [stdout] 96 | | return 1; [INFO] [stdout] 97 | | } [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / pub unsafe extern fn wi_img_get_err_msg(ctx: *const WiImage) -> *const c_char { [INFO] [stdout] 106 | | if ctx.is_null() { [INFO] [stdout] 107 | | return std::ptr::null(); [INFO] [stdout] 108 | | } [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | / pub unsafe extern fn wi_new_luma8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 361 | | let result = Ok(DynamicImage::new_luma8(width, height)); [INFO] [stdout] 362 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 363 | | Box::into_raw(result) [INFO] [stdout] 364 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / pub unsafe extern fn wi_grayimg_is_ok(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 120 | | if ctx.is_null() { [INFO] [stdout] 121 | | return 0; [INFO] [stdout] 122 | | } [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub unsafe extern fn wi_grayimg_is_err(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 131 | | if ctx.is_null() { [INFO] [stdout] 132 | | return 1; [INFO] [stdout] 133 | | } [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | / pub unsafe extern fn wi_new_rgb8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 368 | | let result = Ok(DynamicImage::new_rgb8(width, height)); [INFO] [stdout] 369 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 370 | | Box::into_raw(result) [INFO] [stdout] 371 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / pub unsafe extern fn wi_grayimg_get_err_msg(ctx: *const WiGrayImage) -> *const c_char { [INFO] [stdout] 142 | | if ctx.is_null() { [INFO] [stdout] 143 | | return std::ptr::null(); [INFO] [stdout] 144 | | } [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / pub unsafe extern fn wi_new_rgba8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 375 | | let result = Ok(DynamicImage::new_rgba8(width, height)); [INFO] [stdout] 376 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 377 | | Box::into_raw(result) [INFO] [stdout] 378 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / pub unsafe extern fn wi_grayimg_u32_is_ok(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 156 | | if ctx.is_null() { [INFO] [stdout] 157 | | return 0; [INFO] [stdout] 158 | | } [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / pub unsafe extern fn wi_grayimg_u32_is_err(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 167 | | if ctx.is_null() { [INFO] [stdout] 168 | | return 1; [INFO] [stdout] 169 | | } [INFO] [stdout] ... | [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / pub unsafe extern fn wi_grayimg_u32_get_err_msg(ctx: *const WiGrayImageU32) -> *const c_char { [INFO] [stdout] 178 | | if ctx.is_null() { [INFO] [stdout] 179 | | return std::ptr::null(); [INFO] [stdout] 180 | | } [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:381:1 [INFO] [stdout] | [INFO] [stdout] 381 | / pub unsafe extern fn wi_img_crop(ctx: *const WiImage, cx: u32, cy: u32, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 382 | | if ctx.is_null() { [INFO] [stdout] 383 | | return std::ptr::null_mut(); [INFO] [stdout] 384 | | } [INFO] [stdout] ... | [INFO] [stdout] 390 | | Box::into_raw(result) [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / pub unsafe extern fn wi_img_clone(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 198 | | if ctx.is_null() { [INFO] [stdout] 199 | | return std::ptr::null_mut(); [INFO] [stdout] 200 | | } [INFO] [stdout] ... | [INFO] [stdout] 206 | | Box::into_raw(result) [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | / pub unsafe extern fn wi_img_free(ctx: *mut WiImage) { [INFO] [stdout] 211 | | if !ctx.is_null() { [INFO] [stdout] 212 | | let value = Box::from_raw(ctx); [INFO] [stdout] 213 | | std::mem::drop(value); [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | / pub unsafe extern fn wi_img_color(ctx: *const WiImage) -> *const c_char { [INFO] [stdout] 395 | | if ctx.is_null() { [INFO] [stdout] 396 | | return std::ptr::null_mut(); [INFO] [stdout] 397 | | } [INFO] [stdout] ... | [INFO] [stdout] 427 | | } [INFO] [stdout] 428 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / pub unsafe extern fn wi_grayimg_clone(ctx: *const WiGrayImage) -> *mut WiGrayImage { [INFO] [stdout] 219 | | if ctx.is_null() { [INFO] [stdout] 220 | | return std::ptr::null_mut(); [INFO] [stdout] 221 | | } [INFO] [stdout] ... | [INFO] [stdout] 227 | | Box::into_raw(result) [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | / pub unsafe extern fn wi_img_grayscale(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 433 | | if ctx.is_null() { [INFO] [stdout] 434 | | return std::ptr::null_mut(); [INFO] [stdout] 435 | | } [INFO] [stdout] ... | [INFO] [stdout] 441 | | Box::into_raw(result) [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | / pub unsafe extern fn wi_img_invert(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 446 | | if ctx.is_null() { [INFO] [stdout] 447 | | return std::ptr::null_mut(); [INFO] [stdout] 448 | | } [INFO] [stdout] ... | [INFO] [stdout] 458 | | Box::into_raw(result) [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe extern fn wi_img_resize(ctx: *const WiImage, width: u32, height: u32, format: *const c_char) -> *mut WiImage { [INFO] [stdout] 464 | | if ctx.is_null() { [INFO] [stdout] 465 | | return std::ptr::null_mut(); [INFO] [stdout] 466 | | } [INFO] [stdout] ... | [INFO] [stdout] 491 | | Box::into_raw(result) [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | / pub unsafe extern fn wi_img_resize_exact(ctx: *const WiImage, width: u32, height: u32, format: *const c_char) -> *mut WiImage { [INFO] [stdout] 496 | | if ctx.is_null() { [INFO] [stdout] 497 | | return std::ptr::null_mut(); [INFO] [stdout] 498 | | } [INFO] [stdout] ... | [INFO] [stdout] 523 | | Box::into_raw(result) [INFO] [stdout] 524 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:529:1 [INFO] [stdout] | [INFO] [stdout] 529 | / pub unsafe extern fn wi_img_thumbnail(ctx: *const WiImage, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 530 | | if ctx.is_null() { [INFO] [stdout] 531 | | return std::ptr::null_mut(); [INFO] [stdout] 532 | | } [INFO] [stdout] ... | [INFO] [stdout] 538 | | Box::into_raw(result) [INFO] [stdout] 539 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:543:1 [INFO] [stdout] | [INFO] [stdout] 543 | / pub unsafe extern fn wi_img_thumbnail_exact(ctx: *const WiImage, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 544 | | if ctx.is_null() { [INFO] [stdout] 545 | | return std::ptr::null_mut(); [INFO] [stdout] 546 | | } [INFO] [stdout] ... | [INFO] [stdout] 552 | | Box::into_raw(result) [INFO] [stdout] 553 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | / pub unsafe extern fn wi_img_blur(ctx: *const WiImage, sigma: f32) -> *mut WiImage { [INFO] [stdout] 557 | | if ctx.is_null() { [INFO] [stdout] 558 | | return std::ptr::null_mut(); [INFO] [stdout] 559 | | } [INFO] [stdout] ... | [INFO] [stdout] 565 | | Box::into_raw(result) [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | / pub unsafe extern fn wi_img_unsharpen(ctx: *const WiImage, sigma: f32, threshold: i32) -> *mut WiImage { [INFO] [stdout] 570 | | if ctx.is_null() { [INFO] [stdout] 571 | | return std::ptr::null_mut(); [INFO] [stdout] 572 | | } [INFO] [stdout] ... | [INFO] [stdout] 578 | | Box::into_raw(result) [INFO] [stdout] 579 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | / pub unsafe extern fn wi_img_filter3x3(ctx: *const WiImage, value: *const f32) -> *mut WiImage { [INFO] [stdout] 583 | | if ctx.is_null() { [INFO] [stdout] 584 | | return std::ptr::null_mut(); [INFO] [stdout] 585 | | } [INFO] [stdout] ... | [INFO] [stdout] 605 | | Box::into_raw(result) [INFO] [stdout] 606 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | / pub unsafe extern fn wi_img_adjust_contrast(ctx: *const WiImage, value: f32) -> *mut WiImage { [INFO] [stdout] 610 | | if ctx.is_null() { [INFO] [stdout] 611 | | return std::ptr::null_mut(); [INFO] [stdout] 612 | | } [INFO] [stdout] ... | [INFO] [stdout] 618 | | Box::into_raw(result) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:622:1 [INFO] [stdout] | [INFO] [stdout] 622 | / pub unsafe extern fn wi_img_brighten(ctx: *const WiImage, value: c_int) -> *mut WiImage { [INFO] [stdout] 623 | | if ctx.is_null() { [INFO] [stdout] 624 | | return std::ptr::null_mut(); [INFO] [stdout] 625 | | } [INFO] [stdout] ... | [INFO] [stdout] 631 | | Box::into_raw(result) [INFO] [stdout] 632 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:635:1 [INFO] [stdout] | [INFO] [stdout] 635 | / pub unsafe extern fn wi_img_huerotate(ctx: *const WiImage, value: c_int) -> *mut WiImage { [INFO] [stdout] 636 | | if ctx.is_null() { [INFO] [stdout] 637 | | return std::ptr::null_mut(); [INFO] [stdout] 638 | | } [INFO] [stdout] ... | [INFO] [stdout] 644 | | Box::into_raw(result) [INFO] [stdout] 645 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:648:1 [INFO] [stdout] | [INFO] [stdout] 648 | / pub unsafe extern fn wi_img_flipv(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 649 | | if ctx.is_null() { [INFO] [stdout] 650 | | return std::ptr::null_mut(); [INFO] [stdout] 651 | | } [INFO] [stdout] ... | [INFO] [stdout] 657 | | Box::into_raw(result) [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | / pub unsafe extern fn wi_grayimg_free(ctx: *mut WiGrayImage) { [INFO] [stdout] 232 | | if !ctx.is_null() { [INFO] [stdout] 233 | | let value = Box::from_raw(ctx); [INFO] [stdout] 234 | | std::mem::drop(value); [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | / pub unsafe extern fn wi_img_fliph(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 662 | | if ctx.is_null() { [INFO] [stdout] 663 | | return std::ptr::null_mut(); [INFO] [stdout] 664 | | } [INFO] [stdout] ... | [INFO] [stdout] 670 | | Box::into_raw(result) [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / pub unsafe extern fn wi_grayimg_u32_clone(ctx: *const WiGrayImageU32) -> *mut WiGrayImageU32 { [INFO] [stdout] 240 | | if ctx.is_null() { [INFO] [stdout] 241 | | return std::ptr::null_mut(); [INFO] [stdout] 242 | | } [INFO] [stdout] ... | [INFO] [stdout] 248 | | Box::into_raw(result) [INFO] [stdout] 249 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / pub unsafe extern fn wi_grayimg_u32_free(ctx: *mut WiGrayImageU32) { [INFO] [stdout] 253 | | if !ctx.is_null() { [INFO] [stdout] 254 | | let value = Box::from_raw(ctx); [INFO] [stdout] 255 | | std::mem::drop(value); [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / pub unsafe extern fn wi_img_rotate90(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 675 | | if ctx.is_null() { [INFO] [stdout] 676 | | return std::ptr::null_mut(); [INFO] [stdout] 677 | | } [INFO] [stdout] ... | [INFO] [stdout] 683 | | Box::into_raw(result) [INFO] [stdout] 684 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / pub unsafe extern fn wi_img_to_luma(ctx: *const WiImage) -> *mut WiGrayImage { [INFO] [stdout] 266 | | if ctx.is_null() { [INFO] [stdout] 267 | | return std::ptr::null_mut(); [INFO] [stdout] 268 | | } [INFO] [stdout] ... | [INFO] [stdout] 274 | | Box::into_raw(result) [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:687:1 [INFO] [stdout] | [INFO] [stdout] 687 | / pub unsafe extern fn wi_img_rotate180(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 688 | | if ctx.is_null() { [INFO] [stdout] 689 | | return std::ptr::null_mut(); [INFO] [stdout] 690 | | } [INFO] [stdout] ... | [INFO] [stdout] 696 | | Box::into_raw(result) [INFO] [stdout] 697 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | / pub unsafe extern fn wi_img_rotate270(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 701 | | if ctx.is_null() { [INFO] [stdout] 702 | | return std::ptr::null_mut(); [INFO] [stdout] 703 | | } [INFO] [stdout] ... | [INFO] [stdout] 709 | | Box::into_raw(result) [INFO] [stdout] 710 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / pub unsafe extern fn wi_grayimg_to_img(ctx: *const WiGrayImage) -> *mut WiImage { [INFO] [stdout] 280 | | if ctx.is_null() { [INFO] [stdout] 281 | | return std::ptr::null_mut(); [INFO] [stdout] 282 | | } [INFO] [stdout] ... | [INFO] [stdout] 288 | | Box::into_raw(result) [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / pub unsafe extern fn wi_img_save(ctx: *const WiImage, path: *const c_char) -> c_int { [INFO] [stdout] 714 | | if ctx.is_null() { [INFO] [stdout] 715 | | return 0; [INFO] [stdout] 716 | | } [INFO] [stdout] ... | [INFO] [stdout] 732 | | } [INFO] [stdout] 733 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | / pub unsafe extern fn wi_img_save_with_format(ctx: *const WiImage, path: *const c_char, format: *const c_char) -> c_int { [INFO] [stdout] 738 | | if ctx.is_null() { [INFO] [stdout] 739 | | return 0; [INFO] [stdout] 740 | | } [INFO] [stdout] ... | [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:794:1 [INFO] [stdout] | [INFO] [stdout] 794 | / pub unsafe extern fn wi_img_width(ctx: *const WiImage) -> c_int { [INFO] [stdout] 795 | | if ctx.is_null() { [INFO] [stdout] 796 | | return -1; [INFO] [stdout] 797 | | } [INFO] [stdout] ... | [INFO] [stdout] 803 | | } [INFO] [stdout] 804 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:807:1 [INFO] [stdout] | [INFO] [stdout] 807 | / pub unsafe extern fn wi_img_height(ctx: *const WiImage) -> c_int { [INFO] [stdout] 808 | | if ctx.is_null() { [INFO] [stdout] 809 | | return -1; [INFO] [stdout] 810 | | } [INFO] [stdout] ... | [INFO] [stdout] 816 | | } [INFO] [stdout] 817 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | / pub unsafe extern fn wi_grayimg_u32_to_img_with_pretty_labels(ctx: *const WiGrayImageU32) -> *mut WiImage { [INFO] [stdout] 293 | | fn random_color_map(keys: HashSet) -> HashMap> { [INFO] [stdout] 294 | | use colourado::{Color, ColorPalette, PaletteType}; [INFO] [stdout] 295 | | let palette = ColorPalette::new(keys.len() as u32, PaletteType::Random, false); [INFO] [stdout] ... | [INFO] [stdout] 335 | | Box::into_raw(result) [INFO] [stdout] 336 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 820 | / pub unsafe extern fn wi_grayimg_width(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 821 | | if ctx.is_null() { [INFO] [stdout] 822 | | return -1; [INFO] [stdout] 823 | | } [INFO] [stdout] ... | [INFO] [stdout] 829 | | } [INFO] [stdout] 830 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:833:1 [INFO] [stdout] | [INFO] [stdout] 833 | / pub unsafe extern fn wi_grayimg_height(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 834 | | if ctx.is_null() { [INFO] [stdout] 835 | | return -1; [INFO] [stdout] 836 | | } [INFO] [stdout] ... | [INFO] [stdout] 842 | | } [INFO] [stdout] 843 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:846:1 [INFO] [stdout] | [INFO] [stdout] 846 | / pub unsafe extern fn wi_grayimg_u32_width(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 847 | | if ctx.is_null() { [INFO] [stdout] 848 | | return -1; [INFO] [stdout] 849 | | } [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / pub unsafe extern fn wi_img_open(path: *const c_char) -> *mut WiImage { [INFO] [stdout] 346 | | if path.is_null() { [INFO] [stdout] 347 | | return std::ptr::null_mut(); [INFO] [stdout] 348 | | } [INFO] [stdout] ... | [INFO] [stdout] 356 | | Box::into_raw(result) [INFO] [stdout] 357 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:859:1 [INFO] [stdout] | [INFO] [stdout] 859 | / pub unsafe extern fn wi_grayimg_u32_height(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 860 | | if ctx.is_null() { [INFO] [stdout] 861 | | return -1; [INFO] [stdout] 862 | | } [INFO] [stdout] ... | [INFO] [stdout] 868 | | } [INFO] [stdout] 869 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | / pub unsafe extern fn wi_new_luma8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 361 | | let result = Ok(DynamicImage::new_luma8(width, height)); [INFO] [stdout] 362 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 363 | | Box::into_raw(result) [INFO] [stdout] 364 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:872:1 [INFO] [stdout] | [INFO] [stdout] 872 | / pub unsafe extern fn wi_img_get_rgba_pixel(ctx: *const WiImage, px: *mut RgbaPixel, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 873 | | if ctx.is_null() { [INFO] [stdout] 874 | | return -1; [INFO] [stdout] 875 | | } [INFO] [stdout] ... | [INFO] [stdout] 887 | | } [INFO] [stdout] 888 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / pub unsafe extern fn wi_img_set_rgba_pixel(ctx: *mut WiImage, cx: u32, cy: u32, px: RgbaPixel) -> c_int { [INFO] [stdout] 892 | | if ctx.is_null() { [INFO] [stdout] 893 | | return -1; [INFO] [stdout] 894 | | } [INFO] [stdout] ... | [INFO] [stdout] 906 | | } [INFO] [stdout] 907 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | / pub unsafe extern fn wi_new_rgb8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 368 | | let result = Ok(DynamicImage::new_rgb8(width, height)); [INFO] [stdout] 369 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 370 | | Box::into_raw(result) [INFO] [stdout] 371 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:910:1 [INFO] [stdout] | [INFO] [stdout] 910 | / pub unsafe extern fn wi_grayimg_get_pixel(ctx: *const WiGrayImage, px: *mut u8, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 911 | | if ctx.is_null() { [INFO] [stdout] 912 | | return -1; [INFO] [stdout] 913 | | } [INFO] [stdout] ... | [INFO] [stdout] 925 | | } [INFO] [stdout] 926 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | / pub unsafe extern fn wi_new_rgba8_img(width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 375 | | let result = Ok(DynamicImage::new_rgba8(width, height)); [INFO] [stdout] 376 | | let result = Box::new(WiImage(result)); [INFO] [stdout] 377 | | Box::into_raw(result) [INFO] [stdout] 378 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | / pub unsafe extern fn wi_grayimg_set_pixel(ctx: *mut WiGrayImage, cx: u32, cy: u32, px: u8) -> c_int { [INFO] [stdout] 930 | | if ctx.is_null() { [INFO] [stdout] 931 | | return -1; [INFO] [stdout] 932 | | } [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] 945 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:948:1 [INFO] [stdout] | [INFO] [stdout] 948 | / pub unsafe extern fn wi_grayimg_u32_get_pixel(ctx: *const WiGrayImageU32, px: *mut u32, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 949 | | if ctx.is_null() { [INFO] [stdout] 950 | | return -1; [INFO] [stdout] 951 | | } [INFO] [stdout] ... | [INFO] [stdout] 963 | | } [INFO] [stdout] 964 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:381:1 [INFO] [stdout] | [INFO] [stdout] 381 | / pub unsafe extern fn wi_img_crop(ctx: *const WiImage, cx: u32, cy: u32, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 382 | | if ctx.is_null() { [INFO] [stdout] 383 | | return std::ptr::null_mut(); [INFO] [stdout] 384 | | } [INFO] [stdout] ... | [INFO] [stdout] 390 | | Box::into_raw(result) [INFO] [stdout] 391 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:967:1 [INFO] [stdout] | [INFO] [stdout] 967 | / pub unsafe extern fn wi_grayimg_u32_set_pixel(ctx: *mut WiGrayImage, cx: u32, cy: u32, px: u8) -> c_int { [INFO] [stdout] 968 | | if ctx.is_null() { [INFO] [stdout] 969 | | return -1; [INFO] [stdout] 970 | | } [INFO] [stdout] ... | [INFO] [stdout] 982 | | } [INFO] [stdout] 983 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:990:1 [INFO] [stdout] | [INFO] [stdout] 990 | / pub unsafe extern fn wi_grayimg_contrast_adaptive_threshold( [INFO] [stdout] 991 | | ctx: *const WiGrayImage, [INFO] [stdout] 992 | | block_radius: u32, [INFO] [stdout] 993 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1002 | | Box::into_raw(result) [INFO] [stdout] 1003 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1006:1 [INFO] [stdout] | [INFO] [stdout] 1006 | / pub unsafe extern fn wi_grayimg_contrast_equalize_histogram( [INFO] [stdout] 1007 | | ctx: *const WiGrayImage, [INFO] [stdout] 1008 | | ) -> *mut WiGrayImage { [INFO] [stdout] 1009 | | if ctx.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 1017 | | Box::into_raw(result) [INFO] [stdout] 1018 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | / pub unsafe extern fn wi_img_color(ctx: *const WiImage) -> *const c_char { [INFO] [stdout] 395 | | if ctx.is_null() { [INFO] [stdout] 396 | | return std::ptr::null_mut(); [INFO] [stdout] 397 | | } [INFO] [stdout] ... | [INFO] [stdout] 427 | | } [INFO] [stdout] 428 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1021:1 [INFO] [stdout] | [INFO] [stdout] 1021 | / pub unsafe extern fn wi_grayimg_contrast_match_histogram( [INFO] [stdout] 1022 | | ctx: *const WiGrayImage, [INFO] [stdout] 1023 | | target: *const WiGrayImage, [INFO] [stdout] 1024 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1038 | | } [INFO] [stdout] 1039 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | / pub unsafe extern fn wi_grayimg_contrast_otsu_level( [INFO] [stdout] 1043 | | ctx: *const WiGrayImage, [INFO] [stdout] 1044 | | ) -> c_int { [INFO] [stdout] 1045 | | if ctx.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 1051 | | } [INFO] [stdout] 1052 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | / pub unsafe extern fn wi_img_grayscale(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 433 | | if ctx.is_null() { [INFO] [stdout] 434 | | return std::ptr::null_mut(); [INFO] [stdout] 435 | | } [INFO] [stdout] ... | [INFO] [stdout] 441 | | Box::into_raw(result) [INFO] [stdout] 442 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | / pub unsafe extern fn wi_grayimg_contrast_stretch_contrast( [INFO] [stdout] 1056 | | ctx: *const WiGrayImage, [INFO] [stdout] 1057 | | lower: u8, [INFO] [stdout] 1058 | | upper: u8, [INFO] [stdout] ... | [INFO] [stdout] 1068 | | Box::into_raw(result) [INFO] [stdout] 1069 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | / pub unsafe extern fn wi_grayimg_contrast_threshold( [INFO] [stdout] 1073 | | ctx: *const WiGrayImage, [INFO] [stdout] 1074 | | thresh: u8, [INFO] [stdout] 1075 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1084 | | Box::into_raw(result) [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1099:1 [INFO] [stdout] | [INFO] [stdout] 1099 | / pub unsafe extern fn wi_grayimg_distance_transform( [INFO] [stdout] 1100 | | ctx: *const WiGrayImage, [INFO] [stdout] 1101 | | norm: *const c_char, [INFO] [stdout] 1102 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1126 | | } [INFO] [stdout] 1127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 445 | / pub unsafe extern fn wi_img_invert(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 446 | | if ctx.is_null() { [INFO] [stdout] 447 | | return std::ptr::null_mut(); [INFO] [stdout] 448 | | } [INFO] [stdout] ... | [INFO] [stdout] 458 | | Box::into_raw(result) [INFO] [stdout] 459 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1141:1 [INFO] [stdout] | [INFO] [stdout] 1141 | / pub unsafe extern fn wi_grayimg_edges_canny( [INFO] [stdout] 1142 | | ctx: *const WiGrayImage, [INFO] [stdout] 1143 | | low_threshold: f32, [INFO] [stdout] 1144 | | high_threshold: f32, [INFO] [stdout] ... | [INFO] [stdout] 1154 | | Box::into_raw(result) [INFO] [stdout] 1155 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 463 | / pub unsafe extern fn wi_img_resize(ctx: *const WiImage, width: u32, height: u32, format: *const c_char) -> *mut WiImage { [INFO] [stdout] 464 | | if ctx.is_null() { [INFO] [stdout] 465 | | return std::ptr::null_mut(); [INFO] [stdout] 466 | | } [INFO] [stdout] ... | [INFO] [stdout] 491 | | Box::into_raw(result) [INFO] [stdout] 492 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1162:1 [INFO] [stdout] | [INFO] [stdout] 1162 | / pub unsafe extern fn wi_grayimg_box_filter( [INFO] [stdout] 1163 | | ctx: *const WiGrayImage, [INFO] [stdout] 1164 | | x_radius: u32, [INFO] [stdout] 1165 | | y_radius: u32, [INFO] [stdout] ... | [INFO] [stdout] 1175 | | Box::into_raw(result) [INFO] [stdout] 1176 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | / pub unsafe extern fn wi_img_resize_exact(ctx: *const WiImage, width: u32, height: u32, format: *const c_char) -> *mut WiImage { [INFO] [stdout] 496 | | if ctx.is_null() { [INFO] [stdout] 497 | | return std::ptr::null_mut(); [INFO] [stdout] 498 | | } [INFO] [stdout] ... | [INFO] [stdout] 523 | | Box::into_raw(result) [INFO] [stdout] 524 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1179:1 [INFO] [stdout] | [INFO] [stdout] 1179 | / pub unsafe extern fn wi_grayimg_filter3x3( [INFO] [stdout] 1180 | | ctx: *const WiGrayImage, [INFO] [stdout] 1181 | | value: *const f32, [INFO] [stdout] 1182 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1205 | | Box::into_raw(result) [INFO] [stdout] 1206 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1209:1 [INFO] [stdout] | [INFO] [stdout] 1209 | / pub unsafe extern fn wi_grayimg_filter_gaussian_blur_f32( [INFO] [stdout] 1210 | | ctx: *const WiGrayImage, [INFO] [stdout] 1211 | | sigma: f32 [INFO] [stdout] 1212 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1221 | | Box::into_raw(result) [INFO] [stdout] 1222 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1225:1 [INFO] [stdout] | [INFO] [stdout] 1225 | / pub unsafe extern fn wi_grayimg_filter_median_filter( [INFO] [stdout] 1226 | | ctx: *const WiGrayImage, [INFO] [stdout] 1227 | | x_radius: u32, [INFO] [stdout] 1228 | | y_radius: u32, [INFO] [stdout] ... | [INFO] [stdout] 1238 | | Box::into_raw(result) [INFO] [stdout] 1239 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:529:1 [INFO] [stdout] | [INFO] [stdout] 529 | / pub unsafe extern fn wi_img_thumbnail(ctx: *const WiImage, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 530 | | if ctx.is_null() { [INFO] [stdout] 531 | | return std::ptr::null_mut(); [INFO] [stdout] 532 | | } [INFO] [stdout] ... | [INFO] [stdout] 538 | | Box::into_raw(result) [INFO] [stdout] 539 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1243:1 [INFO] [stdout] | [INFO] [stdout] 1243 | / pub unsafe extern fn wi_grayimg_filter_sharpen3x3( [INFO] [stdout] 1244 | | ctx: *const WiGrayImage, [INFO] [stdout] 1245 | | low_threshold: f32, [INFO] [stdout] 1246 | | high_threshold: f32, [INFO] [stdout] ... | [INFO] [stdout] 1256 | | Box::into_raw(result) [INFO] [stdout] 1257 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1260:1 [INFO] [stdout] | [INFO] [stdout] 1260 | / pub unsafe extern fn wi_grayimg_filter_sharpen_gaussian( [INFO] [stdout] 1261 | | ctx: *const WiGrayImage, [INFO] [stdout] 1262 | | sigma: f32, [INFO] [stdout] 1263 | | amount: f32, [INFO] [stdout] ... | [INFO] [stdout] 1273 | | Box::into_raw(result) [INFO] [stdout] 1274 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:543:1 [INFO] [stdout] | [INFO] [stdout] 543 | / pub unsafe extern fn wi_img_thumbnail_exact(ctx: *const WiImage, width: u32, height: u32) -> *mut WiImage { [INFO] [stdout] 544 | | if ctx.is_null() { [INFO] [stdout] 545 | | return std::ptr::null_mut(); [INFO] [stdout] 546 | | } [INFO] [stdout] ... | [INFO] [stdout] 552 | | Box::into_raw(result) [INFO] [stdout] 553 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1282:1 [INFO] [stdout] | [INFO] [stdout] 1282 | / pub unsafe extern fn wi_grayimg_geometric_transformations_translate( [INFO] [stdout] 1283 | | ctx: *const WiGrayImage, [INFO] [stdout] 1284 | | t1: i32, [INFO] [stdout] 1285 | | t2: i32, [INFO] [stdout] ... | [INFO] [stdout] 1295 | | Box::into_raw(result) [INFO] [stdout] 1296 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1339:1 [INFO] [stdout] | [INFO] [stdout] 1339 | / pub unsafe extern fn wi_grayimg_morphology_close( [INFO] [stdout] 1340 | | ctx: *const WiGrayImage, [INFO] [stdout] 1341 | | norm: *const c_char, [INFO] [stdout] 1342 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1367 | | } [INFO] [stdout] 1368 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | / pub unsafe extern fn wi_img_blur(ctx: *const WiImage, sigma: f32) -> *mut WiImage { [INFO] [stdout] 557 | | if ctx.is_null() { [INFO] [stdout] 558 | | return std::ptr::null_mut(); [INFO] [stdout] 559 | | } [INFO] [stdout] ... | [INFO] [stdout] 565 | | Box::into_raw(result) [INFO] [stdout] 566 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1371:1 [INFO] [stdout] | [INFO] [stdout] 1371 | / pub unsafe extern fn wi_grayimg_morphology_dilate( [INFO] [stdout] 1372 | | ctx: *const WiGrayImage, [INFO] [stdout] 1373 | | norm: *const c_char, [INFO] [stdout] 1374 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1399 | | } [INFO] [stdout] 1400 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | / pub unsafe extern fn wi_img_unsharpen(ctx: *const WiImage, sigma: f32, threshold: i32) -> *mut WiImage { [INFO] [stdout] 570 | | if ctx.is_null() { [INFO] [stdout] 571 | | return std::ptr::null_mut(); [INFO] [stdout] 572 | | } [INFO] [stdout] ... | [INFO] [stdout] 578 | | Box::into_raw(result) [INFO] [stdout] 579 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1403:1 [INFO] [stdout] | [INFO] [stdout] 1403 | / pub unsafe extern fn wi_grayimg_morphology_erode( [INFO] [stdout] 1404 | | ctx: *const WiGrayImage, [INFO] [stdout] 1405 | | norm: *const c_char, [INFO] [stdout] 1406 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1431 | | } [INFO] [stdout] 1432 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 582 | / pub unsafe extern fn wi_img_filter3x3(ctx: *const WiImage, value: *const f32) -> *mut WiImage { [INFO] [stdout] 583 | | if ctx.is_null() { [INFO] [stdout] 584 | | return std::ptr::null_mut(); [INFO] [stdout] 585 | | } [INFO] [stdout] ... | [INFO] [stdout] 605 | | Box::into_raw(result) [INFO] [stdout] 606 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1435:1 [INFO] [stdout] | [INFO] [stdout] 1435 | / pub unsafe extern fn wi_grayimg_morphology_open( [INFO] [stdout] 1436 | | ctx: *const WiGrayImage, [INFO] [stdout] 1437 | | norm: *const c_char, [INFO] [stdout] 1438 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1463 | | } [INFO] [stdout] 1464 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | / pub unsafe extern fn wi_img_adjust_contrast(ctx: *const WiImage, value: f32) -> *mut WiImage { [INFO] [stdout] 610 | | if ctx.is_null() { [INFO] [stdout] 611 | | return std::ptr::null_mut(); [INFO] [stdout] 612 | | } [INFO] [stdout] ... | [INFO] [stdout] 618 | | Box::into_raw(result) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1473:1 [INFO] [stdout] | [INFO] [stdout] 1473 | / pub unsafe extern fn wi_grayimg_gaussian_noise( [INFO] [stdout] 1474 | | ctx: *const WiGrayImage, [INFO] [stdout] 1475 | | mean: f64, [INFO] [stdout] 1476 | | stddev: f64, [INFO] [stdout] ... | [INFO] [stdout] 1487 | | Box::into_raw(result) [INFO] [stdout] 1488 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1491:1 [INFO] [stdout] | [INFO] [stdout] 1491 | / pub unsafe extern fn wi_grayimg_salt_and_pepper_noise( [INFO] [stdout] 1492 | | ctx: *const WiGrayImage, [INFO] [stdout] 1493 | | rate: f64, [INFO] [stdout] 1494 | | seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 1504 | | Box::into_raw(result) [INFO] [stdout] 1505 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1525:1 [INFO] [stdout] | [INFO] [stdout] 1525 | / pub unsafe extern fn wi_grayimg_region_labelling_connected_components( [INFO] [stdout] 1526 | | ctx: *const WiGrayImage, [INFO] [stdout] 1527 | | conn: *const c_char, [INFO] [stdout] 1528 | | background: u8, [INFO] [stdout] ... | [INFO] [stdout] 1554 | | } [INFO] [stdout] 1555 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:622:1 [INFO] [stdout] | [INFO] [stdout] 622 | / pub unsafe extern fn wi_img_brighten(ctx: *const WiImage, value: c_int) -> *mut WiImage { [INFO] [stdout] 623 | | if ctx.is_null() { [INFO] [stdout] 624 | | return std::ptr::null_mut(); [INFO] [stdout] 625 | | } [INFO] [stdout] ... | [INFO] [stdout] 631 | | Box::into_raw(result) [INFO] [stdout] 632 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1564:1 [INFO] [stdout] | [INFO] [stdout] 1564 | / pub unsafe extern fn wi_grayimg_seam_carving_shrink_width( [INFO] [stdout] 1565 | | ctx: *const WiGrayImage, [INFO] [stdout] 1566 | | target_width: u32, [INFO] [stdout] 1567 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1576 | | Box::into_raw(result) [INFO] [stdout] 1577 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:635:1 [INFO] [stdout] | [INFO] [stdout] 635 | / pub unsafe extern fn wi_img_huerotate(ctx: *const WiImage, value: c_int) -> *mut WiImage { [INFO] [stdout] 636 | | if ctx.is_null() { [INFO] [stdout] 637 | | return std::ptr::null_mut(); [INFO] [stdout] 638 | | } [INFO] [stdout] ... | [INFO] [stdout] 644 | | Box::into_raw(result) [INFO] [stdout] 645 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:648:1 [INFO] [stdout] | [INFO] [stdout] 648 | / pub unsafe extern fn wi_img_flipv(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 649 | | if ctx.is_null() { [INFO] [stdout] 650 | | return std::ptr::null_mut(); [INFO] [stdout] 651 | | } [INFO] [stdout] ... | [INFO] [stdout] 657 | | Box::into_raw(result) [INFO] [stdout] 658 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | / pub unsafe extern fn wi_img_fliph(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 662 | | if ctx.is_null() { [INFO] [stdout] 663 | | return std::ptr::null_mut(); [INFO] [stdout] 664 | | } [INFO] [stdout] ... | [INFO] [stdout] 670 | | Box::into_raw(result) [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | / pub unsafe extern fn wi_img_rotate90(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 675 | | if ctx.is_null() { [INFO] [stdout] 676 | | return std::ptr::null_mut(); [INFO] [stdout] 677 | | } [INFO] [stdout] ... | [INFO] [stdout] 683 | | Box::into_raw(result) [INFO] [stdout] 684 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:687:1 [INFO] [stdout] | [INFO] [stdout] 687 | / pub unsafe extern fn wi_img_rotate180(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 688 | | if ctx.is_null() { [INFO] [stdout] 689 | | return std::ptr::null_mut(); [INFO] [stdout] 690 | | } [INFO] [stdout] ... | [INFO] [stdout] 696 | | Box::into_raw(result) [INFO] [stdout] 697 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 700 | / pub unsafe extern fn wi_img_rotate270(ctx: *const WiImage) -> *mut WiImage { [INFO] [stdout] 701 | | if ctx.is_null() { [INFO] [stdout] 702 | | return std::ptr::null_mut(); [INFO] [stdout] 703 | | } [INFO] [stdout] ... | [INFO] [stdout] 709 | | Box::into_raw(result) [INFO] [stdout] 710 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:713:1 [INFO] [stdout] | [INFO] [stdout] 713 | / pub unsafe extern fn wi_img_save(ctx: *const WiImage, path: *const c_char) -> c_int { [INFO] [stdout] 714 | | if ctx.is_null() { [INFO] [stdout] 715 | | return 0; [INFO] [stdout] 716 | | } [INFO] [stdout] ... | [INFO] [stdout] 732 | | } [INFO] [stdout] 733 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | / pub unsafe extern fn wi_img_save_with_format(ctx: *const WiImage, path: *const c_char, format: *const c_char) -> c_int { [INFO] [stdout] 738 | | if ctx.is_null() { [INFO] [stdout] 739 | | return 0; [INFO] [stdout] 740 | | } [INFO] [stdout] ... | [INFO] [stdout] 767 | | } [INFO] [stdout] 768 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:794:1 [INFO] [stdout] | [INFO] [stdout] 794 | / pub unsafe extern fn wi_img_width(ctx: *const WiImage) -> c_int { [INFO] [stdout] 795 | | if ctx.is_null() { [INFO] [stdout] 796 | | return -1; [INFO] [stdout] 797 | | } [INFO] [stdout] ... | [INFO] [stdout] 803 | | } [INFO] [stdout] 804 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:807:1 [INFO] [stdout] | [INFO] [stdout] 807 | / pub unsafe extern fn wi_img_height(ctx: *const WiImage) -> c_int { [INFO] [stdout] 808 | | if ctx.is_null() { [INFO] [stdout] 809 | | return -1; [INFO] [stdout] 810 | | } [INFO] [stdout] ... | [INFO] [stdout] 816 | | } [INFO] [stdout] 817 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 820 | / pub unsafe extern fn wi_grayimg_width(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 821 | | if ctx.is_null() { [INFO] [stdout] 822 | | return -1; [INFO] [stdout] 823 | | } [INFO] [stdout] ... | [INFO] [stdout] 829 | | } [INFO] [stdout] 830 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:833:1 [INFO] [stdout] | [INFO] [stdout] 833 | / pub unsafe extern fn wi_grayimg_height(ctx: *const WiGrayImage) -> c_int { [INFO] [stdout] 834 | | if ctx.is_null() { [INFO] [stdout] 835 | | return -1; [INFO] [stdout] 836 | | } [INFO] [stdout] ... | [INFO] [stdout] 842 | | } [INFO] [stdout] 843 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:846:1 [INFO] [stdout] | [INFO] [stdout] 846 | / pub unsafe extern fn wi_grayimg_u32_width(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 847 | | if ctx.is_null() { [INFO] [stdout] 848 | | return -1; [INFO] [stdout] 849 | | } [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:859:1 [INFO] [stdout] | [INFO] [stdout] 859 | / pub unsafe extern fn wi_grayimg_u32_height(ctx: *const WiGrayImageU32) -> c_int { [INFO] [stdout] 860 | | if ctx.is_null() { [INFO] [stdout] 861 | | return -1; [INFO] [stdout] 862 | | } [INFO] [stdout] ... | [INFO] [stdout] 868 | | } [INFO] [stdout] 869 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:872:1 [INFO] [stdout] | [INFO] [stdout] 872 | / pub unsafe extern fn wi_img_get_rgba_pixel(ctx: *const WiImage, px: *mut RgbaPixel, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 873 | | if ctx.is_null() { [INFO] [stdout] 874 | | return -1; [INFO] [stdout] 875 | | } [INFO] [stdout] ... | [INFO] [stdout] 887 | | } [INFO] [stdout] 888 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:891:1 [INFO] [stdout] | [INFO] [stdout] 891 | / pub unsafe extern fn wi_img_set_rgba_pixel(ctx: *mut WiImage, cx: u32, cy: u32, px: RgbaPixel) -> c_int { [INFO] [stdout] 892 | | if ctx.is_null() { [INFO] [stdout] 893 | | return -1; [INFO] [stdout] 894 | | } [INFO] [stdout] ... | [INFO] [stdout] 906 | | } [INFO] [stdout] 907 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:910:1 [INFO] [stdout] | [INFO] [stdout] 910 | / pub unsafe extern fn wi_grayimg_get_pixel(ctx: *const WiGrayImage, px: *mut u8, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 911 | | if ctx.is_null() { [INFO] [stdout] 912 | | return -1; [INFO] [stdout] 913 | | } [INFO] [stdout] ... | [INFO] [stdout] 925 | | } [INFO] [stdout] 926 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:929:1 [INFO] [stdout] | [INFO] [stdout] 929 | / pub unsafe extern fn wi_grayimg_set_pixel(ctx: *mut WiGrayImage, cx: u32, cy: u32, px: u8) -> c_int { [INFO] [stdout] 930 | | if ctx.is_null() { [INFO] [stdout] 931 | | return -1; [INFO] [stdout] 932 | | } [INFO] [stdout] ... | [INFO] [stdout] 944 | | } [INFO] [stdout] 945 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:948:1 [INFO] [stdout] | [INFO] [stdout] 948 | / pub unsafe extern fn wi_grayimg_u32_get_pixel(ctx: *const WiGrayImageU32, px: *mut u32, cx: u32, cy: u32) -> c_int { [INFO] [stdout] 949 | | if ctx.is_null() { [INFO] [stdout] 950 | | return -1; [INFO] [stdout] 951 | | } [INFO] [stdout] ... | [INFO] [stdout] 963 | | } [INFO] [stdout] 964 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:967:1 [INFO] [stdout] | [INFO] [stdout] 967 | / pub unsafe extern fn wi_grayimg_u32_set_pixel(ctx: *mut WiGrayImage, cx: u32, cy: u32, px: u8) -> c_int { [INFO] [stdout] 968 | | if ctx.is_null() { [INFO] [stdout] 969 | | return -1; [INFO] [stdout] 970 | | } [INFO] [stdout] ... | [INFO] [stdout] 982 | | } [INFO] [stdout] 983 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:990:1 [INFO] [stdout] | [INFO] [stdout] 990 | / pub unsafe extern fn wi_grayimg_contrast_adaptive_threshold( [INFO] [stdout] 991 | | ctx: *const WiGrayImage, [INFO] [stdout] 992 | | block_radius: u32, [INFO] [stdout] 993 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1002 | | Box::into_raw(result) [INFO] [stdout] 1003 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1006:1 [INFO] [stdout] | [INFO] [stdout] 1006 | / pub unsafe extern fn wi_grayimg_contrast_equalize_histogram( [INFO] [stdout] 1007 | | ctx: *const WiGrayImage, [INFO] [stdout] 1008 | | ) -> *mut WiGrayImage { [INFO] [stdout] 1009 | | if ctx.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 1017 | | Box::into_raw(result) [INFO] [stdout] 1018 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1021:1 [INFO] [stdout] | [INFO] [stdout] 1021 | / pub unsafe extern fn wi_grayimg_contrast_match_histogram( [INFO] [stdout] 1022 | | ctx: *const WiGrayImage, [INFO] [stdout] 1023 | | target: *const WiGrayImage, [INFO] [stdout] 1024 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1038 | | } [INFO] [stdout] 1039 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1042:1 [INFO] [stdout] | [INFO] [stdout] 1042 | / pub unsafe extern fn wi_grayimg_contrast_otsu_level( [INFO] [stdout] 1043 | | ctx: *const WiGrayImage, [INFO] [stdout] 1044 | | ) -> c_int { [INFO] [stdout] 1045 | | if ctx.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 1051 | | } [INFO] [stdout] 1052 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1055:1 [INFO] [stdout] | [INFO] [stdout] 1055 | / pub unsafe extern fn wi_grayimg_contrast_stretch_contrast( [INFO] [stdout] 1056 | | ctx: *const WiGrayImage, [INFO] [stdout] 1057 | | lower: u8, [INFO] [stdout] 1058 | | upper: u8, [INFO] [stdout] ... | [INFO] [stdout] 1068 | | Box::into_raw(result) [INFO] [stdout] 1069 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | / pub unsafe extern fn wi_grayimg_contrast_threshold( [INFO] [stdout] 1073 | | ctx: *const WiGrayImage, [INFO] [stdout] 1074 | | thresh: u8, [INFO] [stdout] 1075 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1084 | | Box::into_raw(result) [INFO] [stdout] 1085 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1099:1 [INFO] [stdout] | [INFO] [stdout] 1099 | / pub unsafe extern fn wi_grayimg_distance_transform( [INFO] [stdout] 1100 | | ctx: *const WiGrayImage, [INFO] [stdout] 1101 | | norm: *const c_char, [INFO] [stdout] 1102 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1126 | | } [INFO] [stdout] 1127 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1141:1 [INFO] [stdout] | [INFO] [stdout] 1141 | / pub unsafe extern fn wi_grayimg_edges_canny( [INFO] [stdout] 1142 | | ctx: *const WiGrayImage, [INFO] [stdout] 1143 | | low_threshold: f32, [INFO] [stdout] 1144 | | high_threshold: f32, [INFO] [stdout] ... | [INFO] [stdout] 1154 | | Box::into_raw(result) [INFO] [stdout] 1155 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1162:1 [INFO] [stdout] | [INFO] [stdout] 1162 | / pub unsafe extern fn wi_grayimg_box_filter( [INFO] [stdout] 1163 | | ctx: *const WiGrayImage, [INFO] [stdout] 1164 | | x_radius: u32, [INFO] [stdout] 1165 | | y_radius: u32, [INFO] [stdout] ... | [INFO] [stdout] 1175 | | Box::into_raw(result) [INFO] [stdout] 1176 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1179:1 [INFO] [stdout] | [INFO] [stdout] 1179 | / pub unsafe extern fn wi_grayimg_filter3x3( [INFO] [stdout] 1180 | | ctx: *const WiGrayImage, [INFO] [stdout] 1181 | | value: *const f32, [INFO] [stdout] 1182 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1205 | | Box::into_raw(result) [INFO] [stdout] 1206 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1209:1 [INFO] [stdout] | [INFO] [stdout] 1209 | / pub unsafe extern fn wi_grayimg_filter_gaussian_blur_f32( [INFO] [stdout] 1210 | | ctx: *const WiGrayImage, [INFO] [stdout] 1211 | | sigma: f32 [INFO] [stdout] 1212 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1221 | | Box::into_raw(result) [INFO] [stdout] 1222 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1225:1 [INFO] [stdout] | [INFO] [stdout] 1225 | / pub unsafe extern fn wi_grayimg_filter_median_filter( [INFO] [stdout] 1226 | | ctx: *const WiGrayImage, [INFO] [stdout] 1227 | | x_radius: u32, [INFO] [stdout] 1228 | | y_radius: u32, [INFO] [stdout] ... | [INFO] [stdout] 1238 | | Box::into_raw(result) [INFO] [stdout] 1239 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1243:1 [INFO] [stdout] | [INFO] [stdout] 1243 | / pub unsafe extern fn wi_grayimg_filter_sharpen3x3( [INFO] [stdout] 1244 | | ctx: *const WiGrayImage, [INFO] [stdout] 1245 | | low_threshold: f32, [INFO] [stdout] 1246 | | high_threshold: f32, [INFO] [stdout] ... | [INFO] [stdout] 1256 | | Box::into_raw(result) [INFO] [stdout] 1257 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1260:1 [INFO] [stdout] | [INFO] [stdout] 1260 | / pub unsafe extern fn wi_grayimg_filter_sharpen_gaussian( [INFO] [stdout] 1261 | | ctx: *const WiGrayImage, [INFO] [stdout] 1262 | | sigma: f32, [INFO] [stdout] 1263 | | amount: f32, [INFO] [stdout] ... | [INFO] [stdout] 1273 | | Box::into_raw(result) [INFO] [stdout] 1274 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1282:1 [INFO] [stdout] | [INFO] [stdout] 1282 | / pub unsafe extern fn wi_grayimg_geometric_transformations_translate( [INFO] [stdout] 1283 | | ctx: *const WiGrayImage, [INFO] [stdout] 1284 | | t1: i32, [INFO] [stdout] 1285 | | t2: i32, [INFO] [stdout] ... | [INFO] [stdout] 1295 | | Box::into_raw(result) [INFO] [stdout] 1296 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1339:1 [INFO] [stdout] | [INFO] [stdout] 1339 | / pub unsafe extern fn wi_grayimg_morphology_close( [INFO] [stdout] 1340 | | ctx: *const WiGrayImage, [INFO] [stdout] 1341 | | norm: *const c_char, [INFO] [stdout] 1342 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1367 | | } [INFO] [stdout] 1368 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1371:1 [INFO] [stdout] | [INFO] [stdout] 1371 | / pub unsafe extern fn wi_grayimg_morphology_dilate( [INFO] [stdout] 1372 | | ctx: *const WiGrayImage, [INFO] [stdout] 1373 | | norm: *const c_char, [INFO] [stdout] 1374 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1399 | | } [INFO] [stdout] 1400 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1403:1 [INFO] [stdout] | [INFO] [stdout] 1403 | / pub unsafe extern fn wi_grayimg_morphology_erode( [INFO] [stdout] 1404 | | ctx: *const WiGrayImage, [INFO] [stdout] 1405 | | norm: *const c_char, [INFO] [stdout] 1406 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1431 | | } [INFO] [stdout] 1432 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1435:1 [INFO] [stdout] | [INFO] [stdout] 1435 | / pub unsafe extern fn wi_grayimg_morphology_open( [INFO] [stdout] 1436 | | ctx: *const WiGrayImage, [INFO] [stdout] 1437 | | norm: *const c_char, [INFO] [stdout] 1438 | | k: u8, [INFO] [stdout] ... | [INFO] [stdout] 1463 | | } [INFO] [stdout] 1464 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1473:1 [INFO] [stdout] | [INFO] [stdout] 1473 | / pub unsafe extern fn wi_grayimg_gaussian_noise( [INFO] [stdout] 1474 | | ctx: *const WiGrayImage, [INFO] [stdout] 1475 | | mean: f64, [INFO] [stdout] 1476 | | stddev: f64, [INFO] [stdout] ... | [INFO] [stdout] 1487 | | Box::into_raw(result) [INFO] [stdout] 1488 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1491:1 [INFO] [stdout] | [INFO] [stdout] 1491 | / pub unsafe extern fn wi_grayimg_salt_and_pepper_noise( [INFO] [stdout] 1492 | | ctx: *const WiGrayImage, [INFO] [stdout] 1493 | | rate: f64, [INFO] [stdout] 1494 | | seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 1504 | | Box::into_raw(result) [INFO] [stdout] 1505 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1525:1 [INFO] [stdout] | [INFO] [stdout] 1525 | / pub unsafe extern fn wi_grayimg_region_labelling_connected_components( [INFO] [stdout] 1526 | | ctx: *const WiGrayImage, [INFO] [stdout] 1527 | | conn: *const c_char, [INFO] [stdout] 1528 | | background: u8, [INFO] [stdout] ... | [INFO] [stdout] 1554 | | } [INFO] [stdout] 1555 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1564:1 [INFO] [stdout] | [INFO] [stdout] 1564 | / pub unsafe extern fn wi_grayimg_seam_carving_shrink_width( [INFO] [stdout] 1565 | | ctx: *const WiGrayImage, [INFO] [stdout] 1566 | | target_width: u32, [INFO] [stdout] 1567 | | ) -> *mut WiGrayImage { [INFO] [stdout] ... | [INFO] [stdout] 1576 | | Box::into_raw(result) [INFO] [stdout] 1577 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 78 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-images-cabi`. [INFO] [stderr] [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 78 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0aef4ca70d791ee1e9c0e5246f4b2116f76019effa223c4c2e027269280a1f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aef4ca70d791ee1e9c0e5246f4b2116f76019effa223c4c2e027269280a1f6e", kill_on_drop: false }` [INFO] [stdout] 0aef4ca70d791ee1e9c0e5246f4b2116f76019effa223c4c2e027269280a1f6e