[INFO] fetching crate hirofa-quickjs-sys 0.11.0... [INFO] testing hirofa-quickjs-sys-0.11.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate hirofa-quickjs-sys 0.11.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hirofa-quickjs-sys 0.11.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded copy_dir v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b38f7ffcb0d7cd79e54309728ebacf8ff5e5cf57541106b4747248cab331a3cf [INFO] running `Command { std: "docker" "start" "-a" "b38f7ffcb0d7cd79e54309728ebacf8ff5e5cf57541106b4747248cab331a3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b38f7ffcb0d7cd79e54309728ebacf8ff5e5cf57541106b4747248cab331a3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38f7ffcb0d7cd79e54309728ebacf8ff5e5cf57541106b4747248cab331a3cf", kill_on_drop: false }` [INFO] [stdout] b38f7ffcb0d7cd79e54309728ebacf8ff5e5cf57541106b4747248cab331a3cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8d2ddf860ce704afae906a4adb05b9b7f168a4238784e408ce97ba0ba70a67 [INFO] running `Command { std: "docker" "start" "-a" "8b8d2ddf860ce704afae906a4adb05b9b7f168a4238784e408ce97ba0ba70a67", kill_on_drop: false }` [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling libloading v0.8.8 [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 syn v2.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ind... [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-55d5c8824bcd2109/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ...it (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` 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-55d5c8824bcd2109/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , in... [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-55d5c8824bcd2109/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ...ex / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_b... [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-55d5c8824bcd2109/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ... byte = (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-55d5c8824bcd2109/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-55d5c8824bcd2109/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 :: ch... [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-55d5c8824bcd2109/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...ge) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& 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-55d5c8824bcd2109/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ...te_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit_w... [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-55d5c8824bcd2109/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...n 0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_widt... [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-55d5c8824bcd2109/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 ! (bit... [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-55d5c8824bcd2109/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 con... [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-55d5c8824bcd2109/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ...t) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_sho... [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-55d5c8824bcd2109/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_raw... [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-55d5c8824bcd2109/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...t show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8us... [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-55d5c8824bcd2109/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ... let raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type JSP... [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 03s [INFO] running `Command { std: "docker" "inspect" "8b8d2ddf860ce704afae906a4adb05b9b7f168a4238784e408ce97ba0ba70a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8d2ddf860ce704afae906a4adb05b9b7f168a4238784e408ce97ba0ba70a67", kill_on_drop: false }` [INFO] [stdout] 8b8d2ddf860ce704afae906a4adb05b9b7f168a4238784e408ce97ba0ba70a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f32315e6cd5d408b9fb94670280d58e7e6e93279b2aaefd4cf3cfda0bd6bd04 [INFO] running `Command { std: "docker" "start" "-a" "5f32315e6cd5d408b9fb94670280d58e7e6e93279b2aaefd4cf3cfda0bd6bd04", kill_on_drop: false }` [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ind... [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-55d5c8824bcd2109/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ...it (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` 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-55d5c8824bcd2109/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , in... [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-55d5c8824bcd2109/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ...ex / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_b... [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-55d5c8824bcd2109/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ... byte = (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-55d5c8824bcd2109/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-55d5c8824bcd2109/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 :: ch... [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-55d5c8824bcd2109/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...ge) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& 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-55d5c8824bcd2109/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ...te_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit_w... [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-55d5c8824bcd2109/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...n 0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_widt... [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-55d5c8824bcd2109/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 ! (bit... [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-55d5c8824bcd2109/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 con... [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-55d5c8824bcd2109/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ...t) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_sho... [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-55d5c8824bcd2109/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_raw... [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-55d5c8824bcd2109/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...t show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8us... [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-55d5c8824bcd2109/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ... let raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type JSP... [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-55d5c8824bcd2109/out/bindings.rs:3:1051 [INFO] [stdout] | [INFO] [stdout] 3 | ...yte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ind... [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-55d5c8824bcd2109/out/bindings.rs:3:866 [INFO] [stdout] | [INFO] [stdout] 3 | ...it (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` 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-55d5c8824bcd2109/out/bindings.rs:3:1053 [INFO] [stdout] | [INFO] [stdout] 3 | ...byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , in... [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-55d5c8824bcd2109/out/bindings.rs:3:1080 [INFO] [stdout] | [INFO] [stdout] 3 | ...ex / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_b... [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-55d5c8824bcd2109/out/bindings.rs:3:1904 [INFO] [stdout] | [INFO] [stdout] 3 | ... byte = (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-55d5c8824bcd2109/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-55d5c8824bcd2109/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 :: ch... [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-55d5c8824bcd2109/out/bindings.rs:3:2001 [INFO] [stdout] | [INFO] [stdout] 3 | ...ge) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& 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-55d5c8824bcd2109/out/bindings.rs:3:2030 [INFO] [stdout] | [INFO] [stdout] 3 | ...te_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit_w... [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-55d5c8824bcd2109/out/bindings.rs:3:2925 [INFO] [stdout] | [INFO] [stdout] 3 | ...n 0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_widt... [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-55d5c8824bcd2109/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 ! (bit... [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-55d5c8824bcd2109/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 con... [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-55d5c8824bcd2109/out/bindings.rs:3:3640 [INFO] [stdout] | [INFO] [stdout] 3 | ...t) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/out/bindings.rs:3:85178 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_sho... [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-55d5c8824bcd2109/out/bindings.rs:3:85369 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:85862 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:86123 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_raw... [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-55d5c8824bcd2109/out/bindings.rs:3:86311 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:86798 [INFO] [stdout] | [INFO] [stdout] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:87326 [INFO] [stdout] | [INFO] [stdout] 3 | ...t show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8us... [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-55d5c8824bcd2109/out/bindings.rs:3:87473 [INFO] [stdout] | [INFO] [stdout] 3 | ... let raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type JSP... [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.94s [INFO] running `Command { std: "docker" "inspect" "5f32315e6cd5d408b9fb94670280d58e7e6e93279b2aaefd4cf3cfda0bd6bd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f32315e6cd5d408b9fb94670280d58e7e6e93279b2aaefd4cf3cfda0bd6bd04", kill_on_drop: false }` [INFO] [stdout] 5f32315e6cd5d408b9fb94670280d58e7e6e93279b2aaefd4cf3cfda0bd6bd04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf88c6a8802e91bd22f3e3b0df5c46774bd6ca330ccb43171cd0bd76052971d5 [INFO] running `Command { std: "docker" "start" "-a" "cf88c6a8802e91bd22f3e3b0df5c46774bd6ca330ccb43171cd0bd76052971d5", kill_on_drop: false }` [INFO] [stderr] warning: hirofa-quickjs-sys@0.11.0: /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:1051 [INFO] [stderr] | [INFO] [stderr] 3 | ...yte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , ind... [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-55d5c8824bcd2109/out/bindings.rs:3:866 [INFO] [stderr] | [INFO] [stderr] 3 | ...it (byte , index) } # [inline] pub unsafe fn raw_get_bit (this : * const Self , index : usize) -> bool { debug_assert ! (index / 8 < c... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` 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-55d5c8824bcd2109/out/bindings.rs:3:1053 [INFO] [stderr] | [INFO] [stderr] 3 | ...byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_bit (byte , in... [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-55d5c8824bcd2109/out/bindings.rs:3:1080 [INFO] [stderr] | [INFO] [stderr] 3 | ...ex / 8 ; let byte = * (core :: ptr :: addr_of ! ((* this) . storage) as * const u8) . offset (byte_index as isize) ; Self :: extract_b... [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-55d5c8824bcd2109/out/bindings.rs:3:1904 [INFO] [stderr] | [INFO] [stderr] 3 | ... byte = (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-55d5c8824bcd2109/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-55d5c8824bcd2109/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 :: ch... [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-55d5c8824bcd2109/out/bindings.rs:3:2001 [INFO] [stderr] | [INFO] [stderr] 3 | ...ge) as * mut u8) . offset (byte_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& 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-55d5c8824bcd2109/out/bindings.rs:3:2030 [INFO] [stderr] | [INFO] [stderr] 3 | ...te_index as isize) ; * byte = Self :: change_bit (* byte , index , val) ; } # [inline] pub fn get (& self , bit_offset : usize , bit_w... [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-55d5c8824bcd2109/out/bindings.rs:3:2925 [INFO] [stderr] | [INFO] [stderr] 3 | ...n 0 .. (bit_width as usize) { if Self :: raw_get_bit (this , i + bit_offset) { let index = if cfg ! (target_endian = "big") { bit_widt... [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-55d5c8824bcd2109/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 ! (bit... [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-55d5c8824bcd2109/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 con... [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-55d5c8824bcd2109/out/bindings.rs:3:3640 [INFO] [stderr] | [INFO] [stderr] 3 | ...t) ; } } # [inline] pub unsafe fn raw_set (this : * mut Self , bit_offset : usize , bit_width : u8 , val : u64 ,) { debug_assert ! (bi... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> /opt/rustwide/target/debug/build/hirofa-quickjs-sys-55d5c8824bcd2109/out/bindings.rs:3:85178 [INFO] [stderr] | [INFO] [stderr] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (0usize , 8u8) as u32) } } # [inline] pub fn set_sho... [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-55d5c8824bcd2109/out/bindings.rs:3:85369 [INFO] [stderr] | [INFO] [stderr] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:85862 [INFO] [stderr] | [INFO] [stderr] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:86123 [INFO] [stderr] | [INFO] [stderr] 3 | ...s :: raw :: c_int { unsafe { :: std :: mem :: transmute (self . _bitfield_1 . get (8usize , 8u8) as u32) } } # [inline] pub fn set_raw... [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-55d5c8824bcd2109/out/bindings.rs:3:86311 [INFO] [stderr] | [INFO] [stderr] 3 | ...nt) { 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-55d5c8824bcd2109/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-55d5c8824bcd2109/out/bindings.rs:3:86798 [INFO] [stderr] | [INFO] [stderr] 3 | ...nt) { unsafe { let val : u32 = :: std :: mem :: transmute (val) ; < __BindgenBitfieldUnit < [u8 ; 2usize] > > :: raw_set (:: std :: pt... [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-55d5c8824bcd2109/out/bindings.rs:3:87326 [INFO] [stderr] | [INFO] [stderr] 3 | ...t show_hidden : u32 = unsafe { :: std :: mem :: transmute (show_hidden) } ; show_hidden as u64 }) ; __bindgen_bitfield_unit . set (8us... [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-55d5c8824bcd2109/out/bindings.rs:3:87473 [INFO] [stderr] | [INFO] [stderr] 3 | ... let raw_dump : u32 = unsafe { :: std :: mem :: transmute (raw_dump) } ; raw_dump as u64 }) ; __bindgen_bitfield_unit } } pub type JSP... [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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hirofa_quickjs_sys-fa4f9b913e169048) [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" "cf88c6a8802e91bd22f3e3b0df5c46774bd6ca330ccb43171cd0bd76052971d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf88c6a8802e91bd22f3e3b0df5c46774bd6ca330ccb43171cd0bd76052971d5", kill_on_drop: false }` [INFO] [stdout] cf88c6a8802e91bd22f3e3b0df5c46774bd6ca330ccb43171cd0bd76052971d5