[INFO] cloning repository https://github.com/codacy-open-source-project-scans/librsvg2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codacy-open-source-project-scans/librsvg2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodacy-open-source-project-scans%2Flibrsvg2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodacy-open-source-project-scans%2Flibrsvg2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1f91de36985fcf6b9de32fdb5ada9619798e85c [INFO] checking codacy-open-source-project-scans/librsvg2 against try#fcfb0ffc7ed7fc631df1136063939ef648434735 for pr-152543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodacy-open-source-project-scans%2Flibrsvg2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codacy-open-source-project-scans/librsvg2 [INFO] finished tweaking git repo https://github.com/codacy-open-source-project-scans/librsvg2 [INFO] tweaked toml for git repo https://github.com/codacy-open-source-project-scans/librsvg2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codacy-open-source-project-scans/librsvg2 on toolchain fcfb0ffc7ed7fc631df1136063939ef648434735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codacy-open-source-project-scans/librsvg2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d13cf61d6bdd48ef9f30a348b9f3ad19d78e763b9fbf61df1944853635e2b38 [INFO] running `Command { std: "docker" "start" "-a" "2d13cf61d6bdd48ef9f30a348b9f3ad19d78e763b9fbf61df1944853635e2b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d13cf61d6bdd48ef9f30a348b9f3ad19d78e763b9fbf61df1944853635e2b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d13cf61d6bdd48ef9f30a348b9f3ad19d78e763b9fbf61df1944853635e2b38", kill_on_drop: false }` [INFO] [stdout] 2d13cf61d6bdd48ef9f30a348b9f3ad19d78e763b9fbf61df1944853635e2b38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ab1ed0fe86390511cfe4430d3ae3796a40f04556b65b0de954d21c801c108a1 [INFO] running `Command { std: "docker" "start" "-a" "3ab1ed0fe86390511cfe4430d3ae3796a40f04556b65b0de954d21c801c108a1", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking zune-jpeg v0.5.12 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking servo_arc v0.4.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling cfg-expr v0.20.6 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling zerocopy v0.8.36 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling selectors v0.31.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking rctree v0.6.0 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking data-url v0.3.2 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking clap_builder v4.5.56 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking ecb v0.1.2 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking rangemap v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling system-deps v7.0.7 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking locale_config v0.3.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling glib-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling gobject-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling gio-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling cairo-sys-rs v0.22.0-alpha.2 [INFO] [stderr] Compiling pango-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling pangocairo-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling librsvg v2.62.0-beta.1 (/opt/rustwide/workdir/rsvg) [INFO] [stderr] Compiling gio-unix-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.22.0-alpha.2 [INFO] [stderr] Compiling rsvg_convert v2.61.91 (/opt/rustwide/workdir/rsvg_convert) [INFO] [stderr] Compiling librsvg-rebind-sys v0.3.0-beta.0 (/opt/rustwide/workdir/librsvg-rebind/librsvg-rebind/sys) [INFO] [stderr] Compiling pixbufloader-svg v0.0.1 (/opt/rustwide/workdir/gdk-pixbuf-loader) [INFO] [stderr] Checking nom_locate v5.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling glib-macros v0.22.0-alpha.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.36 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Checking cssparser v0.35.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling librsvg-c v2.61.91 (/opt/rustwide/workdir/librsvg-c) [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking clap v4.5.56 [INFO] [stderr] Checking cssparser-color v0.3.0 [INFO] [stderr] Checking clap_complete v4.5.65 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking glib v0.22.0-alpha.2 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking string_cache v0.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking markup5ever v0.35.0 [INFO] [stderr] Checking xml5ever v0.35.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking lopdf v0.38.0 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking gio v0.22.0-alpha.2 [INFO] [stderr] Checking cairo-rs v0.22.0-alpha.2 [INFO] [stderr] Checking pango v0.22.0-alpha.2 [INFO] [stderr] Checking gio-unix v0.22.0-alpha.2 [INFO] [stderr] Checking gdk-pixbuf v0.22.0-alpha.2 [INFO] [stderr] Checking librsvg-rebind v0.3.0-beta.0 (/opt/rustwide/workdir/librsvg-rebind/librsvg-rebind) [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / unsafe extern "C" fn begin_load( [INFO] [stdout] 60 | | size_func: GdkPixbufModuleSizeFunc, [INFO] [stdout] 61 | | prep_func: GdkPixbufModulePreparedFunc, [INFO] [stdout] 62 | | update_func: GdkPixbufModuleUpdatedFunc, [INFO] [stdout] 63 | | user_data: gpointer, [INFO] [stdout] 64 | | error: *mut *mut GError, [INFO] [stdout] 65 | | ) -> gpointer { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe extern "C" fn load_increment( [INFO] [stdout] 83 | | user_data: gpointer, [INFO] [stdout] 84 | | buffer: *const u8, [INFO] [stdout] 85 | | size: c_uint, [INFO] [stdout] 86 | | error: *mut *mut GError, [INFO] [stdout] 87 | | ) -> gboolean { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let data = std::slice::from_raw_parts(buffer, size as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | (*ctx).stream.add_bytes(&Bytes::from(data)); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let ctx = Box::from_raw(user_data as *mut SvgContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe extern "C" fn stop_load(user_data: gpointer, error: *mut *mut GError) -> gboolean { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_new_from_stream_sync` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let raw_handle = rsvg_handle_new_from_stream_sync( [INFO] [stdout] | __________________________^ [INFO] [stdout] 109 | | ctx.stream.upcast_ref::().to_glib_none().0, [INFO] [stdout] 110 | | null_mut(), // base_file [INFO] [stdout] 111 | | 0, [INFO] [stdout] 112 | | null_mut(), // cancellable [INFO] [stdout] 113 | | &mut local_error, [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | *error = local_error; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::translate::FromGlibPtrFull::from_glib_full` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | glib::Object::from_glib_full(raw_handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_set_size_callback` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | rsvg_handle_set_size_callback(handle.as_ptr(), ctx.size_func, ctx.user_data, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_get_pixbuf_and_error` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let p = rsvg_handle_get_pixbuf_and_error(handle.as_ptr(), &mut local_error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | *error = local_error; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::translate::FromGlibPtrFull::from_glib_full` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | gdk_pixbuf::Pixbuf::from_glib_full(p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | prep_func(pixbuf.to_glib_none().0, null_mut(), ctx.user_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | update_func(pixbuf.to_glib_none().0, 0, 0, w, h, ctx.user_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_pixbuf::gdk_pixbuf_sys::gdk_pixbuf_get_width` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | let w = gdk_pixbuf::ffi::gdk_pixbuf_get_width(pb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / unsafe extern "C" fn prep_cb( [INFO] [stdout] 322 | | pb: *mut gdk_pixbuf::ffi::GdkPixbuf, [INFO] [stdout] 323 | | pba: *mut gdk_pixbuf::ffi::GdkPixbufAnimation, [INFO] [stdout] 324 | | user_data: *mut std::ffi::c_void, [INFO] [stdout] 325 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_pixbuf::gdk_pixbuf_sys::gdk_pixbuf_get_height` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let h = gdk_pixbuf::ffi::gdk_pixbuf_get_height(pb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_pixbuf::gdk_pixbuf_sys::gdk_pixbuf_get_rowstride` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | let stride = gdk_pixbuf::ffi::gdk_pixbuf_get_rowstride(pb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gdk_pixbuf::gdk_pixbuf_sys::gdk_pixbuf_get_pixels` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:335:26 [INFO] [stdout] | [INFO] [stdout] 335 | let pixels = gdk_pixbuf::ffi::gdk_pixbuf_get_pixels(pb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(*pixels, 0xaa); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(*pixels.offset(1), 0x11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(*pixels.offset(1), 0x11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(*pixels.offset(2), 0x44); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(*pixels.offset(2), 0x44); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(*pixels.offset(3), 0xff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | assert_eq!(*pixels.offset(3), 0xff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize), 0xaa); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize), 0xaa); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:345:24 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 1), 0x11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 1), 0x11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 2), 0x44); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 2), 0x44); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:347:24 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 3), 0xff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(*pixels.offset((stride * (h - 1)) as isize + 3), 0xff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | *pixels.offset((stride * (h - 1)) as isize + (w as isize - 1) * 4 + 3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / unsafe extern "C" fn begin_load( [INFO] [stdout] 60 | | size_func: GdkPixbufModuleSizeFunc, [INFO] [stdout] 61 | | prep_func: GdkPixbufModulePreparedFunc, [INFO] [stdout] 62 | | update_func: GdkPixbufModuleUpdatedFunc, [INFO] [stdout] 63 | | user_data: gpointer, [INFO] [stdout] 64 | | error: *mut *mut GError, [INFO] [stdout] 65 | | ) -> gpointer { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / unsafe extern "C" fn load_increment( [INFO] [stdout] 83 | | user_data: gpointer, [INFO] [stdout] 84 | | buffer: *const u8, [INFO] [stdout] 85 | | size: c_uint, [INFO] [stdout] 86 | | error: *mut *mut GError, [INFO] [stdout] 87 | | ) -> gboolean { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let data = std::slice::from_raw_parts(buffer, size as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | (*ctx).stream.add_bytes(&Bytes::from(data)); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let ctx = Box::from_raw(user_data as *mut SvgContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe extern "C" fn stop_load(user_data: gpointer, error: *mut *mut GError) -> gboolean { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | *error = null_mut(); [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_new_from_stream_sync` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let raw_handle = rsvg_handle_new_from_stream_sync( [INFO] [stdout] | __________________________^ [INFO] [stdout] 109 | | ctx.stream.upcast_ref::().to_glib_none().0, [INFO] [stdout] 110 | | null_mut(), // base_file [INFO] [stdout] 111 | | 0, [INFO] [stdout] 112 | | null_mut(), // cancellable [INFO] [stdout] 113 | | &mut local_error, [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | *error = local_error; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::translate::FromGlibPtrFull::from_glib_full` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | glib::Object::from_glib_full(raw_handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_set_size_callback` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | rsvg_handle_set_size_callback(handle.as_ptr(), ctx.size_func, ctx.user_data, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `rsvg_handle_get_pixbuf_and_error` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let p = rsvg_handle_get_pixbuf_and_error(handle.as_ptr(), &mut local_error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | *error = local_error; [INFO] [stdout] | ^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glib::translate::FromGlibPtrFull::from_glib_full` is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | gdk_pixbuf::Pixbuf::from_glib_full(p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | prep_func(pixbuf.to_glib_none().0, null_mut(), ctx.user_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> gdk-pixbuf-loader/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | update_func(pixbuf.to_glib_none().0, 0, 0, w, h, ctx.user_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking pangocairo v0.22.0-alpha.2 [INFO] [stderr] Checking rsvg-bench v2.61.91 (/opt/rustwide/workdir/rsvg-bench) [INFO] [stderr] Checking ci v0.0.0 (/opt/rustwide/workdir/ci) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.17s [INFO] running `Command { std: "docker" "inspect" "3ab1ed0fe86390511cfe4430d3ae3796a40f04556b65b0de954d21c801c108a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab1ed0fe86390511cfe4430d3ae3796a40f04556b65b0de954d21c801c108a1", kill_on_drop: false }` [INFO] [stdout] 3ab1ed0fe86390511cfe4430d3ae3796a40f04556b65b0de954d21c801c108a1