[INFO] fetching crate hirofa-quickjs-sys 0.11.0... [INFO] testing hirofa-quickjs-sys-0.11.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hirofa-quickjs-sys 0.11.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate hirofa-quickjs-sys 0.11.0 [INFO] finished tweaking crates.io crate hirofa-quickjs-sys 0.11.0 [INFO] tweaked toml for crates.io crate hirofa-quickjs-sys 0.11.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hirofa-quickjs-sys 0.11.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hirofa-quickjs-sys 0.11.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cde111f4ec10d91ff949bb0dd91fdf1f9c18da87deaf12c4119ccfe167f8a679 [INFO] running `Command { std: "docker" "start" "-a" "cde111f4ec10d91ff949bb0dd91fdf1f9c18da87deaf12c4119ccfe167f8a679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde111f4ec10d91ff949bb0dd91fdf1f9c18da87deaf12c4119ccfe167f8a679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde111f4ec10d91ff949bb0dd91fdf1f9c18da87deaf12c4119ccfe167f8a679", kill_on_drop: false }` [INFO] [stdout] cde111f4ec10d91ff949bb0dd91fdf1f9c18da87deaf12c4119ccfe167f8a679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d60e75b7a810013b2edcf7f084e4fda9e7bef544c1fa25498aceb461a21d78f [INFO] running `Command { std: "docker" "start" "-a" "7d60e75b7a810013b2edcf7f084e4fda9e7bef544c1fa25498aceb461a21d78f", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling hirofa-quickjs-sys v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_import': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:30596:55: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 30596 | local_name, TRUE, TRUE, FALSE); [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_module_variables': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:34668:45: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 34668 | hf->is_lexical, FALSE) < 0) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'js_json_check': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46739:12: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46739 | if (JS_IsFunction(ctx, val)) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46741:5: note: here [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46741 | case JS_TAG_STRING: [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~ [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...e = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , i... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ... (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 <... [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]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...te = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ... / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1716 [INFO] [stdout] | [INFO] [stdout] 3 | ...index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1935 [INFO] [stdout] | [INFO] [stdout] 3 | ... 8 ; let byte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& se... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ..._index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit... [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 `__BindgenBitfieldUnit::::raw_get_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_wi... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__BindgenBitfieldUnit::::raw_set_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:4137 [INFO] [stdout] | [INFO] [stdout] 3 | ...1 - i } else { i } ; Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) ; } } } pub const _STDIO_H : u32 = 1 ; pub c... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_s... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85567 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_r... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (8usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86506 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 8usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ...et raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type J... [INFO] [stdout] | --------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "7d60e75b7a810013b2edcf7f084e4fda9e7bef544c1fa25498aceb461a21d78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d60e75b7a810013b2edcf7f084e4fda9e7bef544c1fa25498aceb461a21d78f", kill_on_drop: false }` [INFO] [stdout] 7d60e75b7a810013b2edcf7f084e4fda9e7bef544c1fa25498aceb461a21d78f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0513462b8b307055ae3dd12a0eb4bd3ea22e6c9de99cbbcaebb933facec2a00 [INFO] running `Command { std: "docker" "start" "-a" "f0513462b8b307055ae3dd12a0eb4bd3ea22e6c9de99cbbcaebb933facec2a00", kill_on_drop: false }` [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_import': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:30596:55: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 30596 | local_name, TRUE, TRUE, FALSE); [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_module_variables': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:34668:45: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 34668 | hf->is_lexical, FALSE) < 0) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'js_json_check': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46739:12: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46739 | if (JS_IsFunction(ctx, val)) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46741:5: note: here [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46741 | case JS_TAG_STRING: [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~ [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...e = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , i... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ... (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 <... [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]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...te = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ... / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1716 [INFO] [stdout] | [INFO] [stdout] 3 | ...index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1935 [INFO] [stdout] | [INFO] [stdout] 3 | ... 8 ; let byte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& se... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ..._index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit... [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 `__BindgenBitfieldUnit::::raw_get_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_wi... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__BindgenBitfieldUnit::::raw_set_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:4137 [INFO] [stdout] | [INFO] [stdout] 3 | ...1 - i } else { i } ; Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) ; } } } pub const _STDIO_H : u32 = 1 ; pub c... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_s... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85567 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_r... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (8usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86506 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 8usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ...et raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type J... [INFO] [stdout] | --------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Compiling hirofa-quickjs-sys v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...e = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , i... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ... (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 <... [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]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...te = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ... / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1716 [INFO] [stdout] | [INFO] [stdout] 3 | ...index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1935 [INFO] [stdout] | [INFO] [stdout] 3 | ... 8 ; let byte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: ... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& se... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ..._index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit... [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 `__BindgenBitfieldUnit::::raw_get_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_wi... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `__BindgenBitfieldUnit::::raw_set_bit` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:4137 [INFO] [stdout] | [INFO] [stdout] 3 | ...1 - i } else { i } ; Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) ; } } } pub const _STDIO_H : u32 = 1 ; pub c... [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] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_s... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85567 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_r... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (8usize , 8u8 , val as u64) } } # [inline... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86506 [INFO] [stdout] | [INFO] [stdout] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 8usize , 8u8 ,) as u32) } ... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stdout] | --------------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8... [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ...et raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type J... [INFO] [stdout] | --------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "f0513462b8b307055ae3dd12a0eb4bd3ea22e6c9de99cbbcaebb933facec2a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0513462b8b307055ae3dd12a0eb4bd3ea22e6c9de99cbbcaebb933facec2a00", kill_on_drop: false }` [INFO] [stdout] f0513462b8b307055ae3dd12a0eb4bd3ea22e6c9de99cbbcaebb933facec2a00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 640627c3fb4b5ca403c945e59edb51f05f577a154a15917d425303c640532714 [INFO] running `Command { std: "docker" "start" "-a" "640627c3fb4b5ca403c945e59edb51f05f577a154a15917d425303c640532714", kill_on_drop: false }` [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_import': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:30596:55: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 30596 | local_name, TRUE, TRUE, FALSE); [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'add_module_variables': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:34668:45: warning: implicit conversion from 'enum ' to 'JSVarKindEnum' [-Wenum-conversion] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 34668 | hf->is_lexical, FALSE) < 0) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~~ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c: In function 'js_json_check': [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46739:12: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46739 | if (JS_IsFunction(ctx, val)) [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^ [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/quickjs/quickjs.c:46741:5: note: here [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: 46741 | case JS_TAG_STRING: [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: | ^~~~ [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1051 [INFO] [stderr] | [INFO] [stderr] 3 | ...e = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , i... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:866 [INFO] [stderr] | [INFO] [stderr] 3 | ... (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 <... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1053 [INFO] [stderr] | [INFO] [stderr] 3 | ...te = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1080 [INFO] [stderr] | [INFO] [stderr] 3 | ... / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract... [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1904 [INFO] [stderr] | [INFO] [stderr] 3 | ...yte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1716 [INFO] [stderr] | [INFO] [stderr] 3 | ...index , val) ; } # [inline] pub unsafe fn raw_set_bit (this : * mut Self , index : usize , val : bool) { debug_assert ! (index / 8... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:1935 [INFO] [stderr] | [INFO] [stderr] 3 | ... 8 ; let byte = (core :: ptr :: addr_of_mut ! ((* this) . storage) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: ... [INFO] [stderr] | ^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2001 [INFO] [stderr] | [INFO] [stderr] 3 | ...) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& se... [INFO] [stderr] | ^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2030 [INFO] [stderr] | [INFO] [stderr] 3 | ..._index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit... [INFO] [stderr] | ^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `__BindgenBitfieldUnit::::raw_get_bit` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2925 [INFO] [stderr] | [INFO] [stderr] 3 | ...0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_wi... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:2561 [INFO] [stderr] | [INFO] [stderr] 3 | ... } val } # [inline] pub unsafe fn raw_get (this : * const Self , bit_offset : usize , bit_width : u8 ,) -> u64 { debug_assert ! (b... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `__BindgenBitfieldUnit::::raw_set_bit` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:4137 [INFO] [stderr] | [INFO] [stderr] 3 | ...1 - i } else { i } ; Self :: raw_set_bit (this , index + bit_offset , val_bit_is_set) ; } } } pub const _STDIO_H : u32 = 1 ; pub c... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:3640 [INFO] [stderr] | [INFO] [stderr] 3 | ... ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85178 [INFO] [stderr] | [INFO] [stderr] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_s... [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85369 [INFO] [stderr] | [INFO] [stderr] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (0usize , 8u8 , val as u64) } } # [inline... [INFO] [stderr] | --------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85567 [INFO] [stderr] | [INFO] [stderr] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 0usize , 8u8 ,) as u32) } ... [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:85862 [INFO] [stderr] | [INFO] [stderr] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stderr] | --------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86123 [INFO] [stderr] | [INFO] [stderr] 3 | ...:: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_r... [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86311 [INFO] [stderr] | [INFO] [stderr] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; self . _bitfield_1 . set (8usize , 8u8 , val as u64) } } # [inline... [INFO] [stderr] | --------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86506 [INFO] [stderr] | [INFO] [stderr] 3 | ... { :: std :: mem :: transmute (< __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_get (:: std :: ptr :: addr_of ! ((* this) . _bitfield_1) , 8usize , 8u8 ,) as u32) } ... [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:86798 [INFO] [stderr] | [INFO] [stderr] 3 | ...) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: ... [INFO] [stderr] | --------------------------^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87326 [INFO] [stderr] | [INFO] [stderr] 3 | ...show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8... [INFO] [stderr] | --------------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-08da0e50a3f314ef/out/bindings.rs:3:87473 [INFO] [stderr] | [INFO] [stderr] 3 | ...et raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type J... [INFO] [stderr] | --------------------------^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::cast_unsigned` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `hirofa-quickjs-sys` (lib) generated 19 warnings (run `cargo fix --lib -p hirofa-quickjs-sys` to apply 14 suggestions) [INFO] [stderr] warning: `hirofa-quickjs-sys` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hirofa_quickjs_sys-7885354e397c621f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_eval ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hirofa_quickjs_sys [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "640627c3fb4b5ca403c945e59edb51f05f577a154a15917d425303c640532714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640627c3fb4b5ca403c945e59edb51f05f577a154a15917d425303c640532714", kill_on_drop: false }` [INFO] [stdout] 640627c3fb4b5ca403c945e59edb51f05f577a154a15917d425303c640532714