[INFO] fetching crate snaphu-rs 0.1.0... [INFO] testing snaphu-rs-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate snaphu-rs 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate snaphu-rs 0.1.0 [INFO] finished tweaking crates.io crate snaphu-rs 0.1.0 [INFO] tweaked toml for crates.io crate snaphu-rs 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate snaphu-rs 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate snaphu-rs 0.1.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded find-msvc-tools v0.1.8 [INFO] [stderr] Downloaded snaphu-sys v0.1.2 [INFO] [stderr] Downloaded cc v1.2.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 476b3db44cdc6d7439bc2cccb5ca86593870b5618ba80d0a9ab42655e6dcc9ce [INFO] running `Command { std: "docker" "start" "-a" "476b3db44cdc6d7439bc2cccb5ca86593870b5618ba80d0a9ab42655e6dcc9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "476b3db44cdc6d7439bc2cccb5ca86593870b5618ba80d0a9ab42655e6dcc9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476b3db44cdc6d7439bc2cccb5ca86593870b5618ba80d0a9ab42655e6dcc9ce", kill_on_drop: false }` [INFO] [stdout] 476b3db44cdc6d7439bc2cccb5ca86593870b5618ba80d0a9ab42655e6dcc9ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbfeea2f5ee58c1a9b2c540e15c5d1695b8005ae4950b77bfdfb1d474b2bfeea [INFO] running `Command { std: "docker" "start" "-a" "bbfeea2f5ee58c1a9b2c540e15c5d1695b8005ae4950b77bfdfb1d474b2bfeea", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling snaphu-sys v0.1.2 [INFO] [stderr] Compiling snaphu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `__uint16_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub type __uint16_t = u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Uint16T` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int32_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub type __int32_t = i32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Int32T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint32_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | pub type __uint32_t = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Uint32T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__int64_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub type __int64_t = i64; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Int64T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__uint64_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub type __uint64_t = u64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Uint64T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_ct_rune_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub type __darwin_ct_rune_t = ::core::ffi::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinCtRuneT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_size_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | pub type __darwin_size_t = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinSizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_wchar_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | pub type __darwin_wchar_t = ::libc::wchar_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinWcharT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_rune_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | pub type __darwin_rune_t = __darwin_wchar_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinRuneT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_time_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub type __darwin_time_t = ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinTimeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_blkcnt_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | pub type __darwin_blkcnt_t = __int64_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinBlkcntT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_blksize_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub type __darwin_blksize_t = __int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinBlksizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_dev_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | pub type __darwin_dev_t = __int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinDevT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_gid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub type __darwin_gid_t = __uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinGidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_ino64_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | pub type __darwin_ino64_t = __uint64_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinIno64T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_mode_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | pub type __darwin_mode_t = __uint16_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinModeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_off_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub type __darwin_off_t = __int64_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinOffT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_pid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub type __darwin_pid_t = __int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinPidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_suseconds_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | pub type __darwin_suseconds_t = __int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinSusecondsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `__darwin_uid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | pub type __darwin_uid_t = __uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DarwinUidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `size_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | pub type size_t = __darwin_size_t; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fpos_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | pub type fpos_t = __darwin_off_t; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `FposT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `off_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | pub type off_t = __darwin_off_t; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `OffT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | pub type pid_t = __darwin_pid_t; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `PidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | pub type uid_t = __darwin_uid_t; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `UidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dev_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 235 | pub type dev_t = __darwin_dev_t; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DevT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mode_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | pub type mode_t = __darwin_mode_t; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `ModeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `gid_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 289 | pub type gid_t = __darwin_gid_t; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `GidT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `time_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | pub type time_t = __darwin_time_t; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `TimeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `blkcnt_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | pub type blkcnt_t = __darwin_blkcnt_t; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `BlkcntT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `blksize_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | pub type blksize_t = __darwin_blksize_t; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BlksizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `nlink_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | pub type nlink_t = __uint16_t; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `NlinkT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `nodeT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub type nodeT = nodeST; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `NodeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `neighborT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 344 | pub type neighborT = neighborST; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NeighborT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `boundaryT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | pub type boundaryT = boundaryST; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BoundaryT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `costT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub type costT = costST; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CostT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `smoothcostT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | pub type smoothcostT = smoothcostST; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SmoothcostT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bidircostT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:377:10 [INFO] [stdout] | [INFO] [stdout] 377 | pub type bidircostT = bidircostST; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BidircostT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `incrcostT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | pub type incrcostT = incrcostST; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IncrcostT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `candidateT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | pub type candidateT = candidateST; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CandidateT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bucketT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub type bucketT = bucketST; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `BucketT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `scndryarcT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | pub type scndryarcT = scndryarcST; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ScndryarcT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `nodesuppT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:427:10 [INFO] [stdout] | [INFO] [stdout] 427 | pub type nodesuppT = nodesuppST; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NodesuppT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `paramT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:546:10 [INFO] [stdout] | [INFO] [stdout] 546 | pub type paramT = paramST; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `ParamT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `infileT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:568:10 [INFO] [stdout] | [INFO] [stdout] 568 | pub type infileT = infileST; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `InfileT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `outfileT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:588:10 [INFO] [stdout] | [INFO] [stdout] 588 | pub type outfileT = outfileST; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `OutfileT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tileparamT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:597:10 [INFO] [stdout] | [INFO] [stdout] 597 | pub type tileparamT = tileparamST; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TileparamT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `conncompsizeT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:606:10 [INFO] [stdout] | [INFO] [stdout] 606 | pub type conncompsizeT = conncompsizeST; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ConncompsizeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `totalcostT` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | pub type totalcostT = ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `TotalcostT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bucket` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:608:10 [INFO] [stdout] | [INFO] [stdout] 608 | pub type bucket = bucket_st; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:614:10 [INFO] [stdout] | [INFO] [stdout] 614 | pub type node = node_st; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `excess_t` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:629:10 [INFO] [stdout] | [INFO] [stdout] 629 | pub type excess_t = ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ExcessT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arc` should have an upper camel case name [INFO] [stdout] --> src/snaphu_full.rs:630:10 [INFO] [stdout] | [INFO] [stdout] 630 | pub type arc = arc_st; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/snaphu_full.rs:703:1 [INFO] [stdout] | [INFO] [stdout] 703 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::isascii` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | return if isascii(_c as ::core::ffi::c_int) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:691:1 [INFO] [stdout] | [INFO] [stdout] 691 | / unsafe extern "C" fn __istype( [INFO] [stdout] 692 | | mut _c: __darwin_ct_rune_t, [INFO] [stdout] 693 | | mut _f: ::core::ffi::c_ulong, [INFO] [stdout] 694 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [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]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:696:10 [INFO] [stdout] | [INFO] [stdout] 696 | (_DefaultRuneLocale.__runetype[_c as usize] as ::core::ffi::c_ulong & _f != 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::__maskrune` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:699:10 [INFO] [stdout] | [INFO] [stdout] 699 | (__maskrune(_c, _f) != 0) as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::__istype` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | return __istype( [INFO] [stdout] | ____________^ [INFO] [stdout] 707 | | _c as __darwin_ct_rune_t, [INFO] [stdout] 708 | | (_CTYPE_A | _CTYPE_D) as ::core::ffi::c_ulong, [INFO] [stdout] 709 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | pub unsafe extern "C" fn isalnum(mut _c: ::core::ffi::c_int) -> ::core::ffi::c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::StartTimers` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1241:5 [INFO] [stdout] | [INFO] [stdout] 1241 | StartTimers(&raw mut tstart, &raw mut cputimestart); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:1081:1 [INFO] [stdout] | [INFO] [stdout] 1081 | / pub unsafe extern "C" fn run_main( [INFO] [stdout] 1082 | | mut argc: ::core::ffi::c_int, [INFO] [stdout] 1083 | | mut argv: *mut *mut ::core::ffi::c_char, [INFO] [stdout] 1084 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetStreamPointers` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1242:5 [INFO] [stdout] | [INFO] [stdout] 1242 | SetStreamPointers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1243:5 [INFO] [stdout] | [INFO] [stdout] 1243 | / fprintf( [INFO] [stdout] 1244 | | sp1, [INFO] [stdout] 1245 | | b"\n%s v%s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1246 | | PROGRAMNAME.as_ptr(), [INFO] [stdout] 1247 | | VERSION.as_ptr(), [INFO] [stdout] 1248 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1244:9 [INFO] [stdout] | [INFO] [stdout] 1244 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetDefaults` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1249:5 [INFO] [stdout] | [INFO] [stdout] 1249 | / SetDefaults( [INFO] [stdout] 1250 | | &raw mut infiles as *mut infileT, [INFO] [stdout] 1251 | | &raw mut outfiles as *mut outfileT, [INFO] [stdout] 1252 | | &raw mut params as *mut paramT, [INFO] [stdout] 1253 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadConfigFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1254:5 [INFO] [stdout] | [INFO] [stdout] 1254 | / ReadConfigFile( [INFO] [stdout] 1255 | | DEF_SYSCONFFILE.as_ptr() as *mut ::core::ffi::c_char, [INFO] [stdout] 1256 | | &raw mut infiles as *mut infileT, [INFO] [stdout] 1257 | | &raw mut outfiles as *mut outfileT, [INFO] [stdout] 1258 | | &raw mut linelen, [INFO] [stdout] 1259 | | &raw mut params as *mut paramT, [INFO] [stdout] 1260 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ProcessArgs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1261:5 [INFO] [stdout] | [INFO] [stdout] 1261 | / ProcessArgs( [INFO] [stdout] 1262 | | argc, [INFO] [stdout] 1263 | | argv as *mut *mut ::core::ffi::c_char, [INFO] [stdout] 1264 | | &raw mut infiles as *mut infileT, [INFO] [stdout] ... | [INFO] [stdout] 1267 | | &raw mut params as *mut paramT, [INFO] [stdout] 1268 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetVerboseOut` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1269:5 [INFO] [stdout] | [INFO] [stdout] 1269 | SetVerboseOut(&raw mut params as *mut paramT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetDumpAll` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1270:5 [INFO] [stdout] | [INFO] [stdout] 1270 | / SetDumpAll( [INFO] [stdout] 1271 | | &raw mut outfiles as *mut outfileT, [INFO] [stdout] 1272 | | &raw mut params as *mut paramT, [INFO] [stdout] 1273 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::GetNLines` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1274:14 [INFO] [stdout] | [INFO] [stdout] 1274 | nlines = GetNLines( [INFO] [stdout] | ______________^ [INFO] [stdout] 1275 | | &raw mut infiles as *mut infileT, [INFO] [stdout] 1276 | | linelen, [INFO] [stdout] 1277 | | &raw mut params as *mut paramT, [INFO] [stdout] 1278 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CheckParams` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | / CheckParams( [INFO] [stdout] 1280 | | &raw mut infiles as *mut infileT, [INFO] [stdout] 1281 | | &raw mut outfiles as *mut outfileT, [INFO] [stdout] 1282 | | linelen, [INFO] [stdout] 1283 | | nlines, [INFO] [stdout] 1284 | | &raw mut params as *mut paramT, [INFO] [stdout] 1285 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::WriteConfigLogFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1286:5 [INFO] [stdout] | [INFO] [stdout] 1286 | / WriteConfigLogFile( [INFO] [stdout] 1287 | | argc, [INFO] [stdout] 1288 | | argv as *mut *mut ::core::ffi::c_char, [INFO] [stdout] 1289 | | &raw mut infiles as *mut infileT, [INFO] [stdout] ... | [INFO] [stdout] 1292 | | &raw mut params as *mut paramT, [INFO] [stdout] 1293 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Unwrap` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1294:5 [INFO] [stdout] | [INFO] [stdout] 1294 | / Unwrap( [INFO] [stdout] 1295 | | &raw mut infiles as *mut infileT, [INFO] [stdout] 1296 | | &raw mut outfiles as *mut outfileT, [INFO] [stdout] 1297 | | &raw mut params as *mut paramT, [INFO] [stdout] 1298 | | linelen, [INFO] [stdout] 1299 | | nlines, [INFO] [stdout] 1300 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1301:5 [INFO] [stdout] | [INFO] [stdout] 1301 | / fprintf( [INFO] [stdout] 1302 | | sp1, [INFO] [stdout] 1303 | | b"Program %s done\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1304 | | PROGRAMNAME.as_ptr(), [INFO] [stdout] 1305 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1302:9 [INFO] [stdout] | [INFO] [stdout] 1302 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::DisplayElapsedTime` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1306:5 [INFO] [stdout] | [INFO] [stdout] 1306 | DisplayElapsedTime(tstart, cputimestart); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1307:5 [INFO] [stdout] | [INFO] [stdout] 1307 | exit(NORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | mut argc: ::core::ffi::c_int, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1083:5 [INFO] [stdout] | [INFO] [stdout] 1083 | mut argv: *mut *mut ::core::ffi::c_char, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nlines` is never read [INFO] [stdout] --> src/snaphu_full.rs:1240:43 [INFO] [stdout] | [INFO] [stdout] 1240 | let mut nlines: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1319:5 [INFO] [stdout] | [INFO] [stdout] 1319 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:1310:1 [INFO] [stdout] | [INFO] [stdout] 1310 | / pub unsafe extern "C" fn ChildResetStreamPointers( [INFO] [stdout] 1311 | | mut pid: pid_t, [INFO] [stdout] 1312 | | mut tilerow: ::core::ffi::c_long, [INFO] [stdout] 1313 | | mut tilecol: ::core::ffi::c_long, [INFO] [stdout] 1314 | | mut params: *mut paramT, [INFO] [stdout] 1315 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::sprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1320:5 [INFO] [stdout] | [INFO] [stdout] 1320 | / sprintf( [INFO] [stdout] 1321 | | &raw mut logfile as *mut ::core::ffi::c_char, [INFO] [stdout] 1322 | | b"%s/%s%ld_%ld\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1323 | | &raw mut (*params).tiledir as *mut ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 1326 | | tilecol, [INFO] [stdout] 1327 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1323:18 [INFO] [stdout] | [INFO] [stdout] 1323 | &raw mut (*params).tiledir as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fopen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1328:13 [INFO] [stdout] | [INFO] [stdout] 1328 | logfp = fopen( [INFO] [stdout] | _____________^ [INFO] [stdout] 1329 | | &raw mut logfile as *mut ::core::ffi::c_char, [INFO] [stdout] 1330 | | b"w\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1331 | | ) as *mut FILE; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1333:9 [INFO] [stdout] | [INFO] [stdout] 1333 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1334:9 [INFO] [stdout] | [INFO] [stdout] 1334 | / fprintf( [INFO] [stdout] 1335 | | sp0, [INFO] [stdout] 1336 | | b"Unable to open log file %s\nAbort\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1337 | | &raw mut logfile as *mut ::core::ffi::c_char, [INFO] [stdout] 1338 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1335 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1339:9 [INFO] [stdout] | [INFO] [stdout] 1339 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1341:5 [INFO] [stdout] | [INFO] [stdout] 1341 | / fprintf( [INFO] [stdout] 1342 | | logfp, [INFO] [stdout] 1343 | | b"%s (pid %ld): unwrapping tile at row %ld, column %ld\n\n\0" as *const u8 [INFO] [stdout] 1344 | | as *const ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 1348 | | tilecol, [INFO] [stdout] 1349 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::getcwd` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | if !getcwd( [INFO] [stdout] | _________^ [INFO] [stdout] 1351 | | &raw mut cwd as *mut ::core::ffi::c_char, [INFO] [stdout] 1352 | | MAXSTRLEN as size_t, [INFO] [stdout] 1353 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1356:9 [INFO] [stdout] | [INFO] [stdout] 1356 | / fprintf( [INFO] [stdout] 1357 | | logfp, [INFO] [stdout] 1358 | | b"Current working directory is %s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1359 | | &raw mut cwd as *mut ::core::ffi::c_char, [INFO] [stdout] 1360 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1362:8 [INFO] [stdout] | [INFO] [stdout] 1362 | if sp2 == __stdoutp || sp2 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1362:15 [INFO] [stdout] | [INFO] [stdout] 1362 | if sp2 == __stdoutp || sp2 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1362:28 [INFO] [stdout] | [INFO] [stdout] 1362 | if sp2 == __stdoutp || sp2 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1362:35 [INFO] [stdout] | [INFO] [stdout] 1362 | if sp2 == __stdoutp || sp2 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1363:9 [INFO] [stdout] | [INFO] [stdout] 1363 | sp2 = logfp; [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1365:8 [INFO] [stdout] | [INFO] [stdout] 1365 | if sp1 == __stdoutp || sp1 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1365:15 [INFO] [stdout] | [INFO] [stdout] 1365 | if sp1 == __stdoutp || sp1 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1365:28 [INFO] [stdout] | [INFO] [stdout] 1365 | if sp1 == __stdoutp || sp1 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1365:35 [INFO] [stdout] | [INFO] [stdout] 1365 | if sp1 == __stdoutp || sp1 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1366:9 [INFO] [stdout] | [INFO] [stdout] 1366 | sp1 = logfp; [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1368:8 [INFO] [stdout] | [INFO] [stdout] 1368 | if sp0 == __stdoutp || sp0 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1368:15 [INFO] [stdout] | [INFO] [stdout] 1368 | if sp0 == __stdoutp || sp0 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1368:28 [INFO] [stdout] | [INFO] [stdout] 1368 | if sp0 == __stdoutp || sp0 == __stderrp { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1368:35 [INFO] [stdout] | [INFO] [stdout] 1368 | if sp0 == __stdoutp || sp0 == __stderrp { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | sp0 = logfp; [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:8 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:15 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:28 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:35 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:48 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:55 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1371:68 [INFO] [stdout] | [INFO] [stdout] 1371 | if sp3 != __stdoutp && sp3 != __stderrp && sp3 != __stdinp && !sp3.is_null() { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fclose` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1372:9 [INFO] [stdout] | [INFO] [stdout] 1372 | fclose(sp3); [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1372:16 [INFO] [stdout] | [INFO] [stdout] 1372 | fclose(sp3); [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1374:5 [INFO] [stdout] | [INFO] [stdout] 1374 | sp3 = fopen( [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fopen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1374:11 [INFO] [stdout] | [INFO] [stdout] 1374 | sp3 = fopen( [INFO] [stdout] | ___________^ [INFO] [stdout] 1375 | | NULLFILE.as_ptr(), [INFO] [stdout] 1376 | | b"w\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1377 | | ) as *mut FILE; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1378:8 [INFO] [stdout] | [INFO] [stdout] 1378 | if sp3.is_null() { [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1379:9 [INFO] [stdout] | [INFO] [stdout] 1379 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1380:9 [INFO] [stdout] | [INFO] [stdout] 1380 | / fprintf( [INFO] [stdout] 1381 | | sp0, [INFO] [stdout] 1382 | | b"Unable to open null file %s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 1383 | | NULLFILE.as_ptr(), [INFO] [stdout] 1384 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1381:13 [INFO] [stdout] | [INFO] [stdout] 1381 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1385:9 [INFO] [stdout] | [INFO] [stdout] 1385 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | mut pid: pid_t, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1312:5 [INFO] [stdout] | [INFO] [stdout] 1312 | mut tilerow: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1313:5 [INFO] [stdout] | [INFO] [stdout] 1313 | mut tilecol: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1314:5 [INFO] [stdout] | [INFO] [stdout] 1314 | mut params: *mut paramT, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `logfp` is never read [INFO] [stdout] --> src/snaphu_full.rs:1316:32 [INFO] [stdout] | [INFO] [stdout] 1316 | let mut logfp: *mut FILE = ::core::ptr::null_mut::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1588:5 [INFO] [stdout] | [INFO] [stdout] 1588 | / memset( [INFO] [stdout] 1589 | | &raw mut tileparams as *mut tileparamT as *mut ::core::ffi::c_void, [INFO] [stdout] 1590 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1591 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1592 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:1390:1 [INFO] [stdout] | [INFO] [stdout] 1390 | / pub unsafe extern "C" fn Unwrap( [INFO] [stdout] 1391 | | mut infiles: *mut infileT, [INFO] [stdout] 1392 | | mut outfiles: *mut outfileT, [INFO] [stdout] 1393 | | mut params: *mut paramT, [INFO] [stdout] 1394 | | mut linelen: ::core::ffi::c_long, [INFO] [stdout] 1395 | | mut nlines: ::core::ffi::c_long, [INFO] [stdout] 1396 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1593:5 [INFO] [stdout] | [INFO] [stdout] 1593 | / memset( [INFO] [stdout] 1594 | | &raw mut iterinfiles as *mut infileT as *mut ::core::ffi::c_void, [INFO] [stdout] 1595 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1596 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1597 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1598:5 [INFO] [stdout] | [INFO] [stdout] 1598 | / memset( [INFO] [stdout] 1599 | | &raw mut iteroutfiles as *mut outfileT as *mut ::core::ffi::c_void, [INFO] [stdout] 1600 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1601 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1602 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1603:5 [INFO] [stdout] | [INFO] [stdout] 1603 | / memset( [INFO] [stdout] 1604 | | &raw mut tileoutfiles as *mut outfileT as *mut ::core::ffi::c_void, [INFO] [stdout] 1605 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1606 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1607 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1608:5 [INFO] [stdout] | [INFO] [stdout] 1608 | / memset( [INFO] [stdout] 1609 | | &raw mut iterparams as *mut paramT as *mut ::core::ffi::c_void, [INFO] [stdout] 1610 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1611 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1612 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memset` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1613:5 [INFO] [stdout] | [INFO] [stdout] 1613 | / memset( [INFO] [stdout] 1614 | | &raw mut tileinitfile as *mut ::core::ffi::c_char as *mut ::core::ffi::c_void, [INFO] [stdout] 1615 | | 0 as ::core::ffi::c_int, [INFO] [stdout] 1616 | | MAXSTRLEN as size_t, [INFO] [stdout] 1617 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1618:8 [INFO] [stdout] | [INFO] [stdout] 1618 | if (*params).onetilereopt != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memcpy` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1625:9 [INFO] [stdout] | [INFO] [stdout] 1625 | / memcpy( [INFO] [stdout] 1626 | | &raw mut iterinfiles as *mut infileT as *mut ::core::ffi::c_void, [INFO] [stdout] 1627 | | infiles as *const ::core::ffi::c_void, [INFO] [stdout] 1628 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1629 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memcpy` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1630:9 [INFO] [stdout] | [INFO] [stdout] 1630 | / memcpy( [INFO] [stdout] 1631 | | &raw mut iteroutfiles as *mut outfileT as *mut ::core::ffi::c_void, [INFO] [stdout] 1632 | | outfiles as *const ::core::ffi::c_void, [INFO] [stdout] 1633 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1634 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::memcpy` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1635:9 [INFO] [stdout] | [INFO] [stdout] 1635 | / memcpy( [INFO] [stdout] 1636 | | &raw mut iterparams as *mut paramT as *mut ::core::ffi::c_void, [INFO] [stdout] 1637 | | params as *const ::core::ffi::c_void, [INFO] [stdout] 1638 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 1639 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetTileInitOutfile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1642:17 [INFO] [stdout] | [INFO] [stdout] 1642 | / SetTileInitOutfile( [INFO] [stdout] 1643 | | &raw mut (*(&raw mut iteroutfiles as *mut outfileT)).outfile [INFO] [stdout] 1644 | | as *mut ::core::ffi::c_char, [INFO] [stdout] 1645 | | (*(&raw mut iterparams as *mut paramT)).parentpid, [INFO] [stdout] 1646 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1643:30 [INFO] [stdout] | [INFO] [stdout] 1643 | &raw mut (*(&raw mut iteroutfiles as *mut outfileT)).outfile [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1645:21 [INFO] [stdout] | [INFO] [stdout] 1645 | (*(&raw mut iterparams as *mut paramT)).parentpid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::StrNCopy` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1647:17 [INFO] [stdout] | [INFO] [stdout] 1647 | / StrNCopy( [INFO] [stdout] 1648 | | &raw mut tileinitfile as *mut ::core::ffi::c_char, [INFO] [stdout] 1649 | | &raw mut (*(&raw mut iteroutfiles as *mut outfileT)).outfile [INFO] [stdout] 1650 | | as *mut ::core::ffi::c_char, [INFO] [stdout] 1651 | | MAXSTRLEN as size_t, [INFO] [stdout] 1652 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1649:30 [INFO] [stdout] | [INFO] [stdout] 1649 | &raw mut (*(&raw mut iteroutfiles as *mut outfileT)).outfile [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1653:17 [INFO] [stdout] | [INFO] [stdout] 1653 | (*(&raw mut iteroutfiles as *mut outfileT)).outfileformat = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1655:17 [INFO] [stdout] | [INFO] [stdout] 1655 | / fprintf( [INFO] [stdout] 1656 | | sp1, [INFO] [stdout] 1657 | | b"Starting first-round tile-mode unwrapping\n\0" as *const u8 [INFO] [stdout] 1658 | | as *const ::core::ffi::c_char, [INFO] [stdout] 1659 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1656:21 [INFO] [stdout] | [INFO] [stdout] 1656 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::StrNCopy` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1662:13 [INFO] [stdout] | [INFO] [stdout] 1662 | / StrNCopy( [INFO] [stdout] 1663 | | &raw mut (*(&raw mut iterinfiles as *mut infileT)).infile [INFO] [stdout] 1664 | | as *mut ::core::ffi::c_char, [INFO] [stdout] 1665 | | &raw mut tileinitfile as *mut ::core::ffi::c_char, [INFO] [stdout] 1666 | | MAXSTRLEN as size_t, [INFO] [stdout] 1667 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1663:26 [INFO] [stdout] | [INFO] [stdout] 1663 | &raw mut (*(&raw mut iterinfiles as *mut infileT)).infile [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1668:13 [INFO] [stdout] | [INFO] [stdout] 1668 | (*(&raw mut iterinfiles as *mut infileT)).unwrappedinfileformat = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1670:13 [INFO] [stdout] | [INFO] [stdout] 1670 | (*(&raw mut iterparams as *mut paramT)).unwrapped = TRUE as ::core::ffi::c_schar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1671:13 [INFO] [stdout] | [INFO] [stdout] 1671 | (*(&raw mut iterparams as *mut paramT)).ntilerow = 1 as ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1672:13 [INFO] [stdout] | [INFO] [stdout] 1672 | (*(&raw mut iterparams as *mut paramT)).ntilecol = 1 as ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1673:13 [INFO] [stdout] | [INFO] [stdout] 1673 | (*(&raw mut iterparams as *mut paramT)).rowovrlp = 0 as ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1674:13 [INFO] [stdout] | [INFO] [stdout] 1674 | (*(&raw mut iterparams as *mut paramT)).colovrlp = 0 as ::core::ffi::c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1675:13 [INFO] [stdout] | [INFO] [stdout] 1675 | / fprintf( [INFO] [stdout] 1676 | | sp1, [INFO] [stdout] 1677 | | b"Starting second-round single-tile unwrapping\n\0" as *const u8 [INFO] [stdout] 1678 | | as *const ::core::ffi::c_char, [INFO] [stdout] 1679 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1676:17 [INFO] [stdout] | [INFO] [stdout] 1676 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1681:13 [INFO] [stdout] | [INFO] [stdout] 1681 | / fprintf( [INFO] [stdout] 1682 | | sp0, [INFO] [stdout] 1683 | | b"ERROR: illegal optiter value in Unwrap()\n\0" as *const u8 [INFO] [stdout] 1684 | | as *const ::core::ffi::c_char, [INFO] [stdout] 1685 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1682:17 [INFO] [stdout] | [INFO] [stdout] 1682 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1686:13 [INFO] [stdout] | [INFO] [stdout] 1686 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1688:20 [INFO] [stdout] | [INFO] [stdout] 1688 | ntilerow = (*(&raw mut iterparams as *mut paramT)).ntilerow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1689:20 [INFO] [stdout] | [INFO] [stdout] 1689 | ntilecol = (*(&raw mut iterparams as *mut paramT)).ntilecol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1690:20 [INFO] [stdout] | [INFO] [stdout] 1690 | nthreads = (*(&raw mut iterparams as *mut paramT)).nthreads; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1691:9 [INFO] [stdout] | [INFO] [stdout] 1691 | dumpresults_global = FALSE as ::core::ffi::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1692:9 [INFO] [stdout] | [INFO] [stdout] 1692 | requestedstop_global = FALSE as ::core::ffi::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1694:13 [INFO] [stdout] | [INFO] [stdout] 1694 | (*(&raw mut tileparams as *mut tileparamT)).firstrow = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1695:17 [INFO] [stdout] | [INFO] [stdout] 1695 | (*(&raw mut iterparams as *mut paramT)).piecefirstrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1696:13 [INFO] [stdout] | [INFO] [stdout] 1696 | (*(&raw mut tileparams as *mut tileparamT)).firstcol = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1697:17 [INFO] [stdout] | [INFO] [stdout] 1697 | (*(&raw mut iterparams as *mut paramT)).piecefirstcol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1698:13 [INFO] [stdout] | [INFO] [stdout] 1698 | (*(&raw mut tileparams as *mut tileparamT)).nrow = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1699:17 [INFO] [stdout] | [INFO] [stdout] 1699 | (*(&raw mut iterparams as *mut paramT)).piecenrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1700:13 [INFO] [stdout] | [INFO] [stdout] 1700 | (*(&raw mut tileparams as *mut tileparamT)).ncol = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1701:17 [INFO] [stdout] | [INFO] [stdout] 1701 | (*(&raw mut iterparams as *mut paramT)).piecencol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::UnwrapTile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1702:13 [INFO] [stdout] | [INFO] [stdout] 1702 | / UnwrapTile( [INFO] [stdout] 1703 | | &raw mut iterinfiles as *mut infileT, [INFO] [stdout] 1704 | | &raw mut iteroutfiles as *mut outfileT, [INFO] [stdout] 1705 | | &raw mut iterparams as *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1708 | | linelen, [INFO] [stdout] 1709 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1711:16 [INFO] [stdout] | [INFO] [stdout] 1711 | if (*(&raw mut iterparams as *mut paramT)).assembleonly == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetUpDoTileMask` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1713:21 [INFO] [stdout] | [INFO] [stdout] 1713 | SetUpDoTileMask(&raw mut iterinfiles as *mut infileT, ntilerow, ntilecol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MakeTileDir` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1714:17 [INFO] [stdout] | [INFO] [stdout] 1714 | / MakeTileDir( [INFO] [stdout] 1715 | | &raw mut iterparams as *mut paramT, [INFO] [stdout] 1716 | | &raw mut iteroutfiles as *mut outfileT, [INFO] [stdout] 1717 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ceil` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1722:37 [INFO] [stdout] | [INFO] [stdout] 1722 | sleepinterval = ceil( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 1723 | | (nlines * linelen) as ::core::ffi::c_double [INFO] [stdout] 1724 | | / (ntilerow * ntilecol) as ::core::ffi::c_double [INFO] [stdout] 1725 | | * SECONDSPERPIXEL, [INFO] [stdout] 1726 | | ) as ::core::ffi::c_long; [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CatchSignals` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1727:21 [INFO] [stdout] | [INFO] [stdout] 1727 | / CatchSignals(Some( [INFO] [stdout] 1728 | | KillChildrenExit as unsafe extern "C" fn(::core::ffi::c_int) -> (), [INFO] [stdout] 1729 | | )); [INFO] [stdout] | |______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1732:32 [INFO] [stdout] | [INFO] [stdout] 1732 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 1733 | | ... .offset(nexttilecol as isize) [INFO] [stdout] | |_______________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:1732:33 [INFO] [stdout] | [INFO] [stdout] 1732 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1733 | | ... .offset(nexttilecol as isize) [INFO] [stdout] | |_______________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1732:33 [INFO] [stdout] | [INFO] [stdout] 1732 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:1732:35 [INFO] [stdout] | [INFO] [stdout] 1732 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::sleep` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1736:33 [INFO] [stdout] | [INFO] [stdout] 1736 | ... sleep(sleepinterval as ::core::ffi::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1737:33 [INFO] [stdout] | [INFO] [stdout] 1737 | ... fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fork` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1738:39 [INFO] [stdout] | [INFO] [stdout] 1738 | ... pid = fork(); [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1740:39 [INFO] [stdout] | [INFO] [stdout] 1740 | ... pid = (*(&raw mut iterparams as *mut paramT)).parentpid as pid_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1743:33 [INFO] [stdout] | [INFO] [stdout] 1743 | ... fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1744:33 [INFO] [stdout] | [INFO] [stdout] 1744 | / ... fprintf( [INFO] [stdout] 1745 | | ... sp0, [INFO] [stdout] 1746 | | ... b"Error while forking\nAbort\n\0" as *const u8 [INFO] [stdout] 1747 | | ... as *const ::core::ffi::c_char, [INFO] [stdout] 1748 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1745:37 [INFO] [stdout] | [INFO] [stdout] 1745 | ... sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::kill` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1749:33 [INFO] [stdout] | [INFO] [stdout] 1749 | ... kill(0 as pid_t, SIGKILL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1750:33 [INFO] [stdout] | [INFO] [stdout] 1750 | ... exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CatchSignals` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1752:33 [INFO] [stdout] | [INFO] [stdout] 1752 | / ... CatchSignals(Some( [INFO] [stdout] 1753 | | ... SignalExit as unsafe extern "C" fn(::core::ffi::c_int) -> (), [INFO] [stdout] 1754 | | ... )); [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::StartTimers` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1755:33 [INFO] [stdout] | [INFO] [stdout] 1755 | ... StartTimers(&raw mut tiletstart, &raw mut tilecputimestart); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::getpid` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1756:39 [INFO] [stdout] | [INFO] [stdout] 1756 | ... pid = getpid(); [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1757:33 [INFO] [stdout] | [INFO] [stdout] 1757 | / ... fprintf( [INFO] [stdout] 1758 | | ... sp1, [INFO] [stdout] 1759 | | ... b"Unwrapping tile at row %ld, column %ld (pid %ld)\n\0" [INFO] [stdout] 1760 | | ... as *const u8 [INFO] [stdout] ... | [INFO] [stdout] 1764 | | ... pid as ::core::ffi::c_long, [INFO] [stdout] 1765 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1758:37 [INFO] [stdout] | [INFO] [stdout] 1758 | ... sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetupTile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1766:33 [INFO] [stdout] | [INFO] [stdout] 1766 | / ... SetupTile( [INFO] [stdout] 1767 | | ... nlines, [INFO] [stdout] 1768 | | ... linelen, [INFO] [stdout] 1769 | | ... &raw mut iterparams as *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1774 | | ... nexttilecol, [INFO] [stdout] 1775 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ChildResetStreamPointers` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1776:33 [INFO] [stdout] | [INFO] [stdout] 1776 | / ... ChildResetStreamPointers( [INFO] [stdout] 1777 | | ... pid, [INFO] [stdout] 1778 | | ... nexttilerow, [INFO] [stdout] 1779 | | ... nexttilecol, [INFO] [stdout] 1780 | | ... &raw mut iterparams as *mut paramT, [INFO] [stdout] 1781 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::UnwrapTile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1782:33 [INFO] [stdout] | [INFO] [stdout] 1782 | / ... UnwrapTile( [INFO] [stdout] 1783 | | ... &raw mut iterinfiles as *mut infileT, [INFO] [stdout] 1784 | | ... &raw mut tileoutfiles as *mut outfileT, [INFO] [stdout] 1785 | | ... &raw mut iterparams as *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1788 | | ... linelen, [INFO] [stdout] 1789 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::DisplayElapsedTime` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1790:33 [INFO] [stdout] | [INFO] [stdout] 1790 | ... DisplayElapsedTime(tiletstart, tilecputimestart); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1791:33 [INFO] [stdout] | [INFO] [stdout] 1791 | ... exit(NORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1799:36 [INFO] [stdout] | [INFO] [stdout] 1799 | ... != (*(&raw mut iterparams as *mut paramT)).parentpid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::wait` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1804:35 [INFO] [stdout] | [INFO] [stdout] 1804 | ... pid = wait(&raw mut childstatus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1805:34 [INFO] [stdout] | [INFO] [stdout] 1805 | ... if !(*&raw mut childstatus & 0o177 as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1807:36 [INFO] [stdout] | [INFO] [stdout] 1807 | ... || *&raw mut childstatus >> 8 as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1811:33 [INFO] [stdout] | [INFO] [stdout] 1811 | ... fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1812:33 [INFO] [stdout] | [INFO] [stdout] 1812 | / ... fprintf( [INFO] [stdout] 1813 | | ... sp0, [INFO] [stdout] 1814 | | ... b"Unexpected or abnormal exit of child process %ld\nAbort\n\0" [INFO] [stdout] 1815 | | ... as *const u8 [INFO] [stdout] 1816 | | ... as *const ::core::ffi::c_char, [INFO] [stdout] 1817 | | ... pid as ::core::ffi::c_long, [INFO] [stdout] 1818 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1813:37 [INFO] [stdout] | [INFO] [stdout] 1813 | ... sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::signal` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1819:33 [INFO] [stdout] | [INFO] [stdout] 1819 | / ... signal( [INFO] [stdout] 1820 | | ... SIGTERM, [INFO] [stdout] 1821 | | ... ::core::mem::transmute::< [INFO] [stdout] 1822 | | ... ::libc::intptr_t, [INFO] [stdout] ... | [INFO] [stdout] 1826 | | ... ), [INFO] [stdout] 1827 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1821:37 [INFO] [stdout] | [INFO] [stdout] 1821 | / ... ::core::mem::transmute::< [INFO] [stdout] 1822 | | ... ::libc::intptr_t, [INFO] [stdout] 1823 | | ... Option ()>, [INFO] [stdout] 1824 | | ... >( [INFO] [stdout] 1825 | | ... 1 as ::core::ffi::c_int as ::libc::intptr_t [INFO] [stdout] 1826 | | ... ), [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::kill` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1828:33 [INFO] [stdout] | [INFO] [stdout] 1828 | ... kill(0 as pid_t, SIGTERM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1829:33 [INFO] [stdout] | [INFO] [stdout] 1829 | ... exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::sleep` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1835:29 [INFO] [stdout] | [INFO] [stdout] 1835 | ... sleep(sleepinterval as ::core::ffi::c_uint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CatchSignals` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1839:21 [INFO] [stdout] | [INFO] [stdout] 1839 | CatchSignals(SIG_DFL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1845:32 [INFO] [stdout] | [INFO] [stdout] 1845 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 1846 | | ... .offset(nexttilecol as isize) [INFO] [stdout] | |_______________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:1845:33 [INFO] [stdout] | [INFO] [stdout] 1845 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1846 | | ... .offset(nexttilecol as isize) [INFO] [stdout] | |_______________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1845:33 [INFO] [stdout] | [INFO] [stdout] 1845 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:1845:35 [INFO] [stdout] | [INFO] [stdout] 1845 | ... if *(*dotilemask.offset(nexttilerow as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1849:33 [INFO] [stdout] | [INFO] [stdout] 1849 | / ... fprintf( [INFO] [stdout] 1850 | | ... sp1, [INFO] [stdout] 1851 | | ... b"Unwrapping tile at row %ld, column %ld\n\0" as *const u8 [INFO] [stdout] 1852 | | ... as *const ::core::ffi::c_char, [INFO] [stdout] 1853 | | ... nexttilerow, [INFO] [stdout] 1854 | | ... nexttilecol, [INFO] [stdout] 1855 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1850:37 [INFO] [stdout] | [INFO] [stdout] 1850 | ... sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetupTile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1856:33 [INFO] [stdout] | [INFO] [stdout] 1856 | / ... SetupTile( [INFO] [stdout] 1857 | | ... nlines, [INFO] [stdout] 1858 | | ... linelen, [INFO] [stdout] 1859 | | ... &raw mut iterparams as *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1864 | | ... nexttilecol, [INFO] [stdout] 1865 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::UnwrapTile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1866:33 [INFO] [stdout] | [INFO] [stdout] 1866 | / ... UnwrapTile( [INFO] [stdout] 1867 | | ... &raw mut iterinfiles as *mut infileT, [INFO] [stdout] 1868 | | ... &raw mut tileoutfiles as *mut outfileT, [INFO] [stdout] 1869 | | ... &raw mut iterparams as *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1872 | | ... linelen, [INFO] [stdout] 1873 | | ... ); [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1880:17 [INFO] [stdout] | [INFO] [stdout] 1880 | / Free2DArray( [INFO] [stdout] 1881 | | dotilemask as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 1882 | | ntilerow as ::core::ffi::c_uint, [INFO] [stdout] 1883 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::AssembleTiles` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1885:13 [INFO] [stdout] | [INFO] [stdout] 1885 | / AssembleTiles( [INFO] [stdout] 1886 | | &raw mut iteroutfiles as *mut outfileT, [INFO] [stdout] 1887 | | &raw mut iterparams as *mut paramT, [INFO] [stdout] 1888 | | nlines, [INFO] [stdout] 1889 | | linelen, [INFO] [stdout] 1890 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1892:12 [INFO] [stdout] | [INFO] [stdout] 1892 | if (*(&raw mut iterparams as *mut paramT)).rmtileinit as ::core::ffi::c_int != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::unlink` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1895:13 [INFO] [stdout] | [INFO] [stdout] 1895 | unlink(&raw mut tileinitfile as *mut ::core::ffi::c_char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1391:5 [INFO] [stdout] | [INFO] [stdout] 1391 | mut infiles: *mut infileT, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1392:5 [INFO] [stdout] | [INFO] [stdout] 1392 | mut outfiles: *mut outfileT, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | mut params: *mut paramT, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1394:5 [INFO] [stdout] | [INFO] [stdout] 1394 | mut linelen: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1395:5 [INFO] [stdout] | [INFO] [stdout] 1395 | mut nlines: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `optiter` is never read [INFO] [stdout] --> src/snaphu_full.rs:1397:44 [INFO] [stdout] | [INFO] [stdout] 1397 | let mut optiter: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `noptiter` is never read [INFO] [stdout] --> src/snaphu_full.rs:1398:45 [INFO] [stdout] | [INFO] [stdout] 1398 | let mut noptiter: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nexttilerow` is never read [INFO] [stdout] --> src/snaphu_full.rs:1399:48 [INFO] [stdout] | [INFO] [stdout] 1399 | let mut nexttilerow: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nexttilecol` is never read [INFO] [stdout] --> src/snaphu_full.rs:1400:48 [INFO] [stdout] | [INFO] [stdout] 1400 | let mut nexttilecol: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ntilerow` is never read [INFO] [stdout] --> src/snaphu_full.rs:1401:45 [INFO] [stdout] | [INFO] [stdout] 1401 | let mut ntilerow: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ntilecol` is never read [INFO] [stdout] --> src/snaphu_full.rs:1402:45 [INFO] [stdout] | [INFO] [stdout] 1402 | let mut ntilecol: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nthreads` is never read [INFO] [stdout] --> src/snaphu_full.rs:1403:45 [INFO] [stdout] | [INFO] [stdout] 1403 | let mut nthreads: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nchildren` is never read [INFO] [stdout] --> src/snaphu_full.rs:1404:46 [INFO] [stdout] | [INFO] [stdout] 1404 | let mut nchildren: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sleepinterval` is never read [INFO] [stdout] --> src/snaphu_full.rs:1405:50 [INFO] [stdout] | [INFO] [stdout] 1405 | let mut sleepinterval: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pid` is never read [INFO] [stdout] --> src/snaphu_full.rs:1582:26 [INFO] [stdout] | [INFO] [stdout] 1582 | let mut pid: pid_t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dotilemask` is never read [INFO] [stdout] --> src/snaphu_full.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | ::core::ptr::null_mut::<*mut ::core::ffi::c_schar>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1970:12 [INFO] [stdout] | [INFO] [stdout] 1970 | nrow = (*tileparams).nrow; [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] --> src/snaphu_full.rs:1902:1 [INFO] [stdout] | [INFO] [stdout] 1902 | / pub unsafe extern "C" fn UnwrapTile( [INFO] [stdout] 1903 | | mut infiles: *mut infileT, [INFO] [stdout] 1904 | | mut outfiles: *mut outfileT, [INFO] [stdout] 1905 | | mut params: *mut paramT, [INFO] [stdout] ... | [INFO] [stdout] 1908 | | mut linelen: ::core::ffi::c_long, [INFO] [stdout] 1909 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1971:12 [INFO] [stdout] | [INFO] [stdout] 1971 | ncol = (*tileparams).ncol; [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadInputFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1972:5 [INFO] [stdout] | [INFO] [stdout] 1972 | / ReadInputFile( [INFO] [stdout] 1973 | | infiles, [INFO] [stdout] 1974 | | &raw mut mag, [INFO] [stdout] 1975 | | &raw mut wrappedphase, [INFO] [stdout] ... | [INFO] [stdout] 1980 | | tileparams, [INFO] [stdout] 1981 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadMagnitude` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1982:5 [INFO] [stdout] | [INFO] [stdout] 1982 | ReadMagnitude(mag, infiles, linelen, nlines, tileparams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadByteMask` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1983:5 [INFO] [stdout] | [INFO] [stdout] 1983 | ReadByteMask(mag, infiles, linelen, nlines, tileparams, params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CheckMagMasking` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1984:17 [INFO] [stdout] | [INFO] [stdout] 1984 | allmasked = CheckMagMasking(mag, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1986:8 [INFO] [stdout] | [INFO] [stdout] 1986 | if strlen(&raw mut (*infiles).estfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1986:24 [INFO] [stdout] | [INFO] [stdout] 1986 | if strlen(&raw mut (*infiles).estfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadUnwrappedEstimateFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1987:9 [INFO] [stdout] | [INFO] [stdout] 1987 | / ReadUnwrappedEstimateFile( [INFO] [stdout] 1988 | | &raw mut unwrappedest, [INFO] [stdout] 1989 | | infiles, [INFO] [stdout] 1990 | | linelen, [INFO] [stdout] ... | [INFO] [stdout] 1993 | | tileparams, [INFO] [stdout] 1994 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::FlattenWrappedPhase` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1995:9 [INFO] [stdout] | [INFO] [stdout] 1995 | FlattenWrappedPhase(wrappedphase, unwrappedest, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildCostArrays` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:1997:5 [INFO] [stdout] | [INFO] [stdout] 1997 | / BuildCostArrays( [INFO] [stdout] 1998 | | &raw mut costs, [INFO] [stdout] 1999 | | &raw mut mstcosts, [INFO] [stdout] 2000 | | mag, [INFO] [stdout] ... | [INFO] [stdout] 2010 | | outfiles, [INFO] [stdout] 2011 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2012:8 [INFO] [stdout] | [INFO] [stdout] 2012 | if (*params).eval != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Short2DRowColAbsMax` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2013:20 [INFO] [stdout] | [INFO] [stdout] 2013 | mostflow = Short2DRowColAbsMax(flows, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2014:9 [INFO] [stdout] | [INFO] [stdout] 2014 | / fprintf( [INFO] [stdout] 2015 | | sp1, [INFO] [stdout] 2016 | | b"Maximum flow on network: %ld\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2017 | | mostflow, [INFO] [stdout] 2018 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2015:13 [INFO] [stdout] | [INFO] [stdout] 2015 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::EvaluateTotalCost` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2019:21 [INFO] [stdout] | [INFO] [stdout] 2019 | totalcost = EvaluateTotalCost( [INFO] [stdout] | _____________________^ [INFO] [stdout] 2020 | | costs, [INFO] [stdout] 2021 | | flows, [INFO] [stdout] 2022 | | nrow, [INFO] [stdout] ... | [INFO] [stdout] 2025 | | params, [INFO] [stdout] 2026 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2027:9 [INFO] [stdout] | [INFO] [stdout] 2027 | / fprintf( [INFO] [stdout] 2028 | | sp1, [INFO] [stdout] 2029 | | b"Total solution cost: %.9g\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2030 | | totalcost, [INFO] [stdout] 2031 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2028:13 [INFO] [stdout] | [INFO] [stdout] 2028 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2032:9 [INFO] [stdout] | [INFO] [stdout] 2032 | / Free2DArray( [INFO] [stdout] 2033 | | costs, [INFO] [stdout] 2034 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2035 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2036:9 [INFO] [stdout] | [INFO] [stdout] 2036 | / Free2DArray( [INFO] [stdout] 2037 | | mag as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2038 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2039 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2040:9 [INFO] [stdout] | [INFO] [stdout] 2040 | / Free2DArray( [INFO] [stdout] 2041 | | wrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2042 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2043 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2044:9 [INFO] [stdout] | [INFO] [stdout] 2044 | / Free2DArray( [INFO] [stdout] 2045 | | flows as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2046 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2047 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetGridNetworkFunctionPointers` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2050:5 [INFO] [stdout] | [INFO] [stdout] 2050 | SetGridNetworkFunctionPointers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2053:8 [INFO] [stdout] | [INFO] [stdout] 2053 | if (*params).unwrapped == 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2054:12 [INFO] [stdout] | [INFO] [stdout] 2054 | if (*params).initmethod as ::core::ffi::c_int == MSTINIT { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MSTInitFlows` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2055:13 [INFO] [stdout] | [INFO] [stdout] 2055 | / MSTInitFlows( [INFO] [stdout] 2056 | | wrappedphase, [INFO] [stdout] 2057 | | &raw mut flows, [INFO] [stdout] 2058 | | mstcosts, [INFO] [stdout] ... | [INFO] [stdout] 2063 | | (*params).initmaxflow, [INFO] [stdout] 2064 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2063:17 [INFO] [stdout] | [INFO] [stdout] 2063 | (*params).initmaxflow, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2065:19 [INFO] [stdout] | [INFO] [stdout] 2065 | } else if (*params).initmethod as ::core::ffi::c_int == MCFINIT { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MCFInitFlows` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2066:13 [INFO] [stdout] | [INFO] [stdout] 2066 | / MCFInitFlows( [INFO] [stdout] 2067 | | wrappedphase, [INFO] [stdout] 2068 | | &raw mut flows, [INFO] [stdout] 2069 | | mstcosts, [INFO] [stdout] ... | [INFO] [stdout] 2072 | | (*params).cs2scalefactor, [INFO] [stdout] 2073 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2072:17 [INFO] [stdout] | [INFO] [stdout] 2072 | (*params).cs2scalefactor, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2075:13 [INFO] [stdout] | [INFO] [stdout] 2075 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2076:13 [INFO] [stdout] | [INFO] [stdout] 2076 | / fprintf( [INFO] [stdout] 2077 | | sp0, [INFO] [stdout] 2078 | | b"Illegal initialization method\nAbort\n\0" as *const u8 [INFO] [stdout] 2079 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2080 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2077:17 [INFO] [stdout] | [INFO] [stdout] 2077 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2081:13 [INFO] [stdout] | [INFO] [stdout] 2081 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2083:12 [INFO] [stdout] | [INFO] [stdout] 2083 | if (*params).initonly as ::core::ffi::c_int != 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2084:16 [INFO] [stdout] | [INFO] [stdout] 2084 | || strlen(&raw mut (*outfiles).initfile as *mut ::core::ffi::c_char) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2084:32 [INFO] [stdout] | [INFO] [stdout] 2084 | || strlen(&raw mut (*outfiles).initfile as *mut ::core::ffi::c_char) != 0 [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2086:13 [INFO] [stdout] | [INFO] [stdout] 2086 | / fprintf( [INFO] [stdout] 2087 | | sp1, [INFO] [stdout] 2088 | | b"Integrating phase\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2089 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2087:17 [INFO] [stdout] | [INFO] [stdout] 2087 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2090:30 [INFO] [stdout] | [INFO] [stdout] 2090 | unwrappedphase = Get2DMem( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 2091 | | nrow as ::core::ffi::c_int, [INFO] [stdout] 2092 | | ncol as ::core::ffi::c_int, [INFO] [stdout] 2093 | | ::core::mem::size_of::<*mut ::core::ffi::c_float>() as ::core::ffi::c_int, [INFO] [stdout] 2094 | | ::core::mem::size_of::<::core::ffi::c_float>() as size_t, [INFO] [stdout] 2095 | | ) as *mut *mut ::core::ffi::c_float; [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::IntegratePhase` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2096:13 [INFO] [stdout] | [INFO] [stdout] 2096 | IntegratePhase(wrappedphase, unwrappedphase, flows, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Add2DFloatArrays` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2098:17 [INFO] [stdout] | [INFO] [stdout] 2098 | Add2DFloatArrays(unwrappedphase, unwrappedest, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::FlipPhaseArraySign` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2100:13 [INFO] [stdout] | [INFO] [stdout] 2100 | FlipPhaseArraySign(unwrappedphase, params, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2101:16 [INFO] [stdout] | [INFO] [stdout] 2101 | if (*params).initonly != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2102:17 [INFO] [stdout] | [INFO] [stdout] 2102 | / fprintf( [INFO] [stdout] 2103 | | sp1, [INFO] [stdout] 2104 | | b"Writing output to file %s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2105 | | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] 2106 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2103:21 [INFO] [stdout] | [INFO] [stdout] 2103 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2105:30 [INFO] [stdout] | [INFO] [stdout] 2105 | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::WriteOutputFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2107:17 [INFO] [stdout] | [INFO] [stdout] 2107 | / WriteOutputFile( [INFO] [stdout] 2108 | | mag, [INFO] [stdout] 2109 | | unwrappedphase, [INFO] [stdout] 2110 | | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 2113 | | ncol, [INFO] [stdout] 2114 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2110:30 [INFO] [stdout] | [INFO] [stdout] 2110 | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2115:17 [INFO] [stdout] | [INFO] [stdout] 2115 | / Free2DArray( [INFO] [stdout] 2116 | | mag as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2117 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2118 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2119:17 [INFO] [stdout] | [INFO] [stdout] 2119 | / Free2DArray( [INFO] [stdout] 2120 | | wrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2121 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2122 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2123:17 [INFO] [stdout] | [INFO] [stdout] 2123 | / Free2DArray( [INFO] [stdout] 2124 | | unwrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2125 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2126 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2128:21 [INFO] [stdout] | [INFO] [stdout] 2128 | / Free2DArray( [INFO] [stdout] 2129 | | nodes_0 as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2130 | | (nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2131 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2133:17 [INFO] [stdout] | [INFO] [stdout] 2133 | / Free2DArray( [INFO] [stdout] 2134 | | flows as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2135 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) [INFO] [stdout] 2136 | | as ::core::ffi::c_uint, [INFO] [stdout] 2137 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2140:17 [INFO] [stdout] | [INFO] [stdout] 2140 | / fprintf( [INFO] [stdout] 2141 | | sp2, [INFO] [stdout] 2142 | | b"Writing initialization to file %s\n\0" as *const u8 [INFO] [stdout] 2143 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2144 | | &raw mut (*outfiles).initfile as *mut ::core::ffi::c_char, [INFO] [stdout] 2145 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2141:21 [INFO] [stdout] | [INFO] [stdout] 2141 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2144:30 [INFO] [stdout] | [INFO] [stdout] 2144 | &raw mut (*outfiles).initfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::WriteOutputFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2146:17 [INFO] [stdout] | [INFO] [stdout] 2146 | / WriteOutputFile( [INFO] [stdout] 2147 | | mag, [INFO] [stdout] 2148 | | unwrappedphase, [INFO] [stdout] 2149 | | &raw mut (*outfiles).initfile as *mut ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 2152 | | ncol, [INFO] [stdout] 2153 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2149:30 [INFO] [stdout] | [INFO] [stdout] 2149 | &raw mut (*outfiles).initfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2154:17 [INFO] [stdout] | [INFO] [stdout] 2154 | / Free2DArray( [INFO] [stdout] 2155 | | unwrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2156 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2157 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::InitNetwork` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2161:5 [INFO] [stdout] | [INFO] [stdout] 2161 | / InitNetwork( [INFO] [stdout] 2162 | | flows, [INFO] [stdout] 2163 | | &raw mut ngroundarcs, [INFO] [stdout] 2164 | | &raw mut ncycle, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | params, [INFO] [stdout] 2188 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2192:8 [INFO] [stdout] | [INFO] [stdout] 2192 | if (*params).regrowconncomps != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2193:9 [INFO] [stdout] | [INFO] [stdout] 2193 | / Free2DArray( [INFO] [stdout] 2194 | | apexes as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2195 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2196 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2197:9 [INFO] [stdout] | [INFO] [stdout] 2197 | / Free2DArray( [INFO] [stdout] 2198 | | iscandidate as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2199 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2200 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2201:9 [INFO] [stdout] | [INFO] [stdout] 2201 | / Free2DArray( [INFO] [stdout] 2202 | | nodes_0 as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2203 | | (nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2204 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2205:9 [INFO] [stdout] | [INFO] [stdout] 2205 | free(candidatebag as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2206:9 [INFO] [stdout] | [INFO] [stdout] 2206 | free(candidatelist as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2207:9 [INFO] [stdout] | [INFO] [stdout] 2207 | free((*bkts).bucketbase as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2207:14 [INFO] [stdout] | [INFO] [stdout] 2207 | free((*bkts).bucketbase as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::GrowConnCompsMask` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2208:9 [INFO] [stdout] | [INFO] [stdout] 2208 | GrowConnCompsMask(costs, flows, nrow, ncol, incrcosts, outfiles, params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | / Free2DArray( [INFO] [stdout] 2210 | | incrcosts as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2211 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2212 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2213:9 [INFO] [stdout] | [INFO] [stdout] 2213 | / Free2DArray( [INFO] [stdout] 2214 | | costs, [INFO] [stdout] 2215 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2216 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2217:9 [INFO] [stdout] | [INFO] [stdout] 2217 | / Free2DArray( [INFO] [stdout] 2218 | | mag as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2219 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2220 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2221:9 [INFO] [stdout] | [INFO] [stdout] 2221 | / Free2DArray( [INFO] [stdout] 2222 | | wrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2223 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2224 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2225:9 [INFO] [stdout] | [INFO] [stdout] 2225 | / Free2DArray( [INFO] [stdout] 2226 | | flows as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2227 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2228 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2229:9 [INFO] [stdout] | [INFO] [stdout] 2229 | free(nnodesperrow as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2230:9 [INFO] [stdout] | [INFO] [stdout] 2230 | free(narcsperrow as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MaskNodes` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2233:5 [INFO] [stdout] | [INFO] [stdout] 2233 | MaskNodes(nrow, ncol, nodes_0, &raw mut ground as *mut nodeT, mag); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2234:8 [INFO] [stdout] | [INFO] [stdout] 2234 | if (*params).ntilerow == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2235:12 [INFO] [stdout] | [INFO] [stdout] 2235 | && (*params).ntilecol == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::signal` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2237:9 [INFO] [stdout] | [INFO] [stdout] 2237 | / signal( [INFO] [stdout] 2238 | | SIGINT, [INFO] [stdout] 2239 | | Some(SetDump as unsafe extern "C" fn(::core::ffi::c_int) -> ()), [INFO] [stdout] 2240 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::signal` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2241:9 [INFO] [stdout] | [INFO] [stdout] 2241 | / signal( [INFO] [stdout] 2242 | | SIGHUP, [INFO] [stdout] 2243 | | Some(SetDump as unsafe extern "C" fn(::core::ffi::c_int) -> ()), [INFO] [stdout] 2244 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2247:9 [INFO] [stdout] | [INFO] [stdout] 2247 | / fprintf( [INFO] [stdout] 2248 | | sp1, [INFO] [stdout] 2249 | | b"Running nonlinear network flow optimizer\n\0" as *const u8 [INFO] [stdout] 2250 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2251 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2248:13 [INFO] [stdout] | [INFO] [stdout] 2248 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2252:9 [INFO] [stdout] | [INFO] [stdout] 2252 | / fprintf( [INFO] [stdout] 2253 | | sp1, [INFO] [stdout] 2254 | | b"Maximum flow on network: %ld\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2255 | | mostflow, [INFO] [stdout] 2256 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2253:13 [INFO] [stdout] | [INFO] [stdout] 2253 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2257:9 [INFO] [stdout] | [INFO] [stdout] 2257 | / fprintf( [INFO] [stdout] 2258 | | sp2, [INFO] [stdout] 2259 | | b"Number of nodes in network: %ld\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2260 | | (nrow - 1 as ::core::ffi::c_long) * (ncol - 1 as ::core::ffi::c_long) [INFO] [stdout] 2261 | | + 1 as ::core::ffi::c_long, [INFO] [stdout] 2262 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2258:13 [INFO] [stdout] | [INFO] [stdout] 2258 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2264:13 [INFO] [stdout] | [INFO] [stdout] 2264 | / fprintf( [INFO] [stdout] 2265 | | sp1, [INFO] [stdout] 2266 | | b"Flow increment: %ld (Total improvements: %ld)\n\0" as *const u8 [INFO] [stdout] 2267 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2268 | | nflow, [INFO] [stdout] 2269 | | ncycle, [INFO] [stdout] 2270 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2265:17 [INFO] [stdout] | [INFO] [stdout] 2265 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetupIncrFlowCosts` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2271:13 [INFO] [stdout] | [INFO] [stdout] 2271 | / SetupIncrFlowCosts( [INFO] [stdout] 2272 | | costs, [INFO] [stdout] 2273 | | incrcosts, [INFO] [stdout] 2274 | | flows, [INFO] [stdout] ... | [INFO] [stdout] 2279 | | params, [INFO] [stdout] 2280 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2281:16 [INFO] [stdout] | [INFO] [stdout] 2281 | if (*params).dumpall as ::core::ffi::c_int != 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2282:20 [INFO] [stdout] | [INFO] [stdout] 2282 | && (*params).ntilerow == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2283:20 [INFO] [stdout] | [INFO] [stdout] 2283 | && (*params).ntilecol == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::DumpIncrCostFiles` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2286:17 [INFO] [stdout] | [INFO] [stdout] 2286 | DumpIncrCostFiles(incrcosts, iincrcostfile, nflow, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SelectSources` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2290:23 [INFO] [stdout] | [INFO] [stdout] 2290 | nsource = SelectSources( [INFO] [stdout] | _______________________^ [INFO] [stdout] 2291 | | nodes_0, [INFO] [stdout] 2292 | | mag, [INFO] [stdout] 2293 | | &raw mut ground as *mut nodeT, [INFO] [stdout] ... | [INFO] [stdout] 2301 | | &raw mut nconnectedarr, [INFO] [stdout] 2302 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SetupTreeSolveNetwork` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2303:13 [INFO] [stdout] | [INFO] [stdout] 2303 | / SetupTreeSolveNetwork( [INFO] [stdout] 2304 | | nodes_0, [INFO] [stdout] 2305 | | &raw mut ground as *mut nodeT, [INFO] [stdout] 2306 | | apexes, [INFO] [stdout] ... | [INFO] [stdout] 2313 | | ncol, [INFO] [stdout] 2314 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2318:26 [INFO] [stdout] | [INFO] [stdout] 2318 | source = *sourcelist.offset(isource as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:2318:27 [INFO] [stdout] | [INFO] [stdout] 2318 | source = *sourcelist.offset(isource as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2319:20 [INFO] [stdout] | [INFO] [stdout] 2319 | if (*source).row == GROUNDROW { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2320:21 [INFO] [stdout] | [INFO] [stdout] 2320 | / fprintf( [INFO] [stdout] 2321 | | sp3, [INFO] [stdout] 2322 | | b"Source %ld: (edge ground)\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2323 | | isource, [INFO] [stdout] 2324 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2321:25 [INFO] [stdout] | [INFO] [stdout] 2321 | sp3, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2326:21 [INFO] [stdout] | [INFO] [stdout] 2326 | / fprintf( [INFO] [stdout] 2327 | | sp3, [INFO] [stdout] 2328 | | b"Source %ld: row, col = %d, %d\n\0" as *const u8 [INFO] [stdout] 2329 | | as *const ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 2332 | | (*source).col, [INFO] [stdout] 2333 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2327:25 [INFO] [stdout] | [INFO] [stdout] 2327 | sp3, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2331:25 [INFO] [stdout] | [INFO] [stdout] 2331 | (*source).row, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2332:25 [INFO] [stdout] | [INFO] [stdout] 2332 | (*source).col, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::TreeSolve` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2335:24 [INFO] [stdout] | [INFO] [stdout] 2335 | n_0 += TreeSolve( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2336 | | nodes_0, [INFO] [stdout] 2337 | | ::core::ptr::null_mut::<*mut nodesuppT>(), [INFO] [stdout] 2338 | | &raw mut ground as *mut nodeT, [INFO] [stdout] ... | [INFO] [stdout] 2363 | | params, [INFO] [stdout] 2364 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2354:30 [INFO] [stdout] | [INFO] [stdout] 2354 | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2362:21 [INFO] [stdout] | [INFO] [stdout] 2362 | *nconnectedarr.offset(isource as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:2362:22 [INFO] [stdout] | [INFO] [stdout] 2362 | *nconnectedarr.offset(isource as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2367:13 [INFO] [stdout] | [INFO] [stdout] 2367 | free(sourcelist as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2368:13 [INFO] [stdout] | [INFO] [stdout] 2368 | free(nconnectedarr as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2369:13 [INFO] [stdout] | [INFO] [stdout] 2369 | / fprintf( [INFO] [stdout] 2370 | | sp2, [INFO] [stdout] 2371 | | b"Current solution cost: %.16g\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2372 | | EvaluateTotalCost( [INFO] [stdout] ... | [INFO] [stdout] 2379 | | ), [INFO] [stdout] 2380 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2370:17 [INFO] [stdout] | [INFO] [stdout] 2370 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::EvaluateTotalCost` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2372:17 [INFO] [stdout] | [INFO] [stdout] 2372 | / EvaluateTotalCost( [INFO] [stdout] 2373 | | costs, [INFO] [stdout] 2374 | | flows, [INFO] [stdout] 2375 | | nrow, [INFO] [stdout] ... | [INFO] [stdout] 2378 | | params, [INFO] [stdout] 2379 | | ), [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2381:13 [INFO] [stdout] | [INFO] [stdout] 2381 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::EvaluateTotalCost` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2384:29 [INFO] [stdout] | [INFO] [stdout] 2384 | totalcost = EvaluateTotalCost( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 2385 | | costs, [INFO] [stdout] 2386 | | flows, [INFO] [stdout] 2387 | | nrow, [INFO] [stdout] ... | [INFO] [stdout] 2390 | | params, [INFO] [stdout] 2391 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2398:21 [INFO] [stdout] | [INFO] [stdout] 2398 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2399:21 [INFO] [stdout] | [INFO] [stdout] 2399 | / fprintf( [INFO] [stdout] 2400 | | sp1, [INFO] [stdout] 2401 | | b"Caution: Unexpected increase in total cost\n\0" as *const u8 [INFO] [stdout] 2402 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2403 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2400:25 [INFO] [stdout] | [INFO] [stdout] 2400 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2412:23 [INFO] [stdout] | [INFO] [stdout] 2412 | if n_0 <= (*params).maxnflowcycles { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MaxNonMaskFlow` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2417:24 [INFO] [stdout] | [INFO] [stdout] 2417 | mostflow = MaxNonMaskFlow(flows, mag, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2419:17 [INFO] [stdout] | [INFO] [stdout] 2419 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2420:17 [INFO] [stdout] | [INFO] [stdout] 2420 | / fprintf( [INFO] [stdout] 2421 | | sp0, [INFO] [stdout] 2422 | | b"WARNING: No overall cost reduction for too many iterations. Breaking loop\n\0" [INFO] [stdout] 2423 | | as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2424 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2421:21 [INFO] [stdout] | [INFO] [stdout] 2421 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2427:33 [INFO] [stdout] | [INFO] [stdout] 2427 | if nflowdone >= (*params).maxflow || nflowdone >= mostflow || (*params).p >= 1.0f64 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2427:79 [INFO] [stdout] | [INFO] [stdout] 2427 | if nflowdone >= (*params).maxflow || nflowdone >= mostflow || (*params).p >= 1.0f64 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2432:28 [INFO] [stdout] | [INFO] [stdout] 2432 | if nflow > (*params).maxflow || nflow > mostflow { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2436:17 [INFO] [stdout] | [INFO] [stdout] 2436 | / fprintf( [INFO] [stdout] 2437 | | sp2, [INFO] [stdout] 2438 | | b"Maximum valid flow on network: %ld\n\0" as *const u8 [INFO] [stdout] 2439 | | as *const ::core::ffi::c_char, [INFO] [stdout] 2440 | | mostflow, [INFO] [stdout] 2441 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2437:21 [INFO] [stdout] | [INFO] [stdout] 2437 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2442:20 [INFO] [stdout] | [INFO] [stdout] 2442 | if strlen(&raw mut (*outfiles).flowfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2442:36 [INFO] [stdout] | [INFO] [stdout] 2442 | if strlen(&raw mut (*outfiles).flowfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::FlipFlowArraySign` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2443:21 [INFO] [stdout] | [INFO] [stdout] 2443 | FlipFlowArraySign(flows, params, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DRowColArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2444:21 [INFO] [stdout] | [INFO] [stdout] 2444 | / Write2DRowColArray( [INFO] [stdout] 2445 | | flows as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2446 | | &raw mut (*outfiles).flowfile as *mut ::core::ffi::c_char, [INFO] [stdout] 2447 | | nrow, [INFO] [stdout] 2448 | | ncol, [INFO] [stdout] 2449 | | ::core::mem::size_of::<::core::ffi::c_short>() as size_t, [INFO] [stdout] 2450 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2446:34 [INFO] [stdout] | [INFO] [stdout] 2446 | &raw mut (*outfiles).flowfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::FlipFlowArraySign` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2451:21 [INFO] [stdout] | [INFO] [stdout] 2451 | FlipFlowArraySign(flows, params, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2456:8 [INFO] [stdout] | [INFO] [stdout] 2456 | if (*params).ntilerow == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2457:12 [INFO] [stdout] | [INFO] [stdout] 2457 | && (*params).ntilecol == 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::signal` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2459:9 [INFO] [stdout] | [INFO] [stdout] 2459 | signal(SIGINT, SIG_DFL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::signal` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2460:9 [INFO] [stdout] | [INFO] [stdout] 2460 | signal(SIGHUP, SIG_DFL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2462:5 [INFO] [stdout] | [INFO] [stdout] 2462 | / Free2DArray( [INFO] [stdout] 2463 | | apexes as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2464 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2465 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2466:5 [INFO] [stdout] | [INFO] [stdout] 2466 | / Free2DArray( [INFO] [stdout] 2467 | | iscandidate as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2468 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2469 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2470:5 [INFO] [stdout] | [INFO] [stdout] 2470 | / Free2DArray( [INFO] [stdout] 2471 | | nodes_0 as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2472 | | (nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2473 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2474:5 [INFO] [stdout] | [INFO] [stdout] 2474 | free(candidatebag as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2475:5 [INFO] [stdout] | [INFO] [stdout] 2475 | free(candidatelist as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2476:5 [INFO] [stdout] | [INFO] [stdout] 2476 | free((*bkts).bucketbase as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2476:10 [INFO] [stdout] | [INFO] [stdout] 2476 | free((*bkts).bucketbase as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2477:8 [INFO] [stdout] | [INFO] [stdout] 2477 | if strlen(&raw mut (*outfiles).conncompfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2477:24 [INFO] [stdout] | [INFO] [stdout] 2477 | if strlen(&raw mut (*outfiles).conncompfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::GrowConnCompsMask` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2478:9 [INFO] [stdout] | [INFO] [stdout] 2478 | GrowConnCompsMask(costs, flows, nrow, ncol, incrcosts, outfiles, params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2480:8 [INFO] [stdout] | [INFO] [stdout] 2480 | if (*params).ntilerow != 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2481:12 [INFO] [stdout] | [INFO] [stdout] 2481 | || (*params).ntilecol != 1 as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::GrowRegions` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2483:9 [INFO] [stdout] | [INFO] [stdout] 2483 | / GrowRegions( [INFO] [stdout] 2484 | | costs, flows, nrow, ncol, incrcosts, outfiles, tileparams, params, [INFO] [stdout] 2485 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2487:5 [INFO] [stdout] | [INFO] [stdout] 2487 | / Free2DArray( [INFO] [stdout] 2488 | | incrcosts as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2489 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2490 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::EvaluateTotalCost` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2491:17 [INFO] [stdout] | [INFO] [stdout] 2491 | totalcost = EvaluateTotalCost( [INFO] [stdout] | _________________^ [INFO] [stdout] 2492 | | costs, [INFO] [stdout] 2493 | | flows, [INFO] [stdout] 2494 | | nrow, [INFO] [stdout] ... | [INFO] [stdout] 2497 | | params, [INFO] [stdout] 2498 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2499:5 [INFO] [stdout] | [INFO] [stdout] 2499 | / fprintf( [INFO] [stdout] 2500 | | sp1, [INFO] [stdout] 2501 | | b"Maximum flow on network: %ld\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2502 | | mostflow, [INFO] [stdout] 2503 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2500:9 [INFO] [stdout] | [INFO] [stdout] 2500 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2504:5 [INFO] [stdout] | [INFO] [stdout] 2504 | / fprintf( [INFO] [stdout] 2505 | | sp1, [INFO] [stdout] 2506 | | b"Total solution cost: %.9g\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2507 | | totalcost, [INFO] [stdout] 2508 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2505:9 [INFO] [stdout] | [INFO] [stdout] 2505 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2509:5 [INFO] [stdout] | [INFO] [stdout] 2509 | / fprintf( [INFO] [stdout] 2510 | | sp1, [INFO] [stdout] 2511 | | b"Integrating phase\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2512 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2510:9 [INFO] [stdout] | [INFO] [stdout] 2510 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2513:22 [INFO] [stdout] | [INFO] [stdout] 2513 | unwrappedphase = Get2DMem( [INFO] [stdout] | ______________________^ [INFO] [stdout] 2514 | | nrow as ::core::ffi::c_int, [INFO] [stdout] 2515 | | ncol as ::core::ffi::c_int, [INFO] [stdout] 2516 | | ::core::mem::size_of::<*mut ::core::ffi::c_float>() as ::core::ffi::c_int, [INFO] [stdout] 2517 | | ::core::mem::size_of::<::core::ffi::c_float>() as size_t, [INFO] [stdout] 2518 | | ) as *mut *mut ::core::ffi::c_float; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::IntegratePhase` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2519:5 [INFO] [stdout] | [INFO] [stdout] 2519 | IntegratePhase(wrappedphase, unwrappedphase, flows, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Add2DFloatArrays` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2521:9 [INFO] [stdout] | [INFO] [stdout] 2521 | Add2DFloatArrays(unwrappedphase, unwrappedest, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::FlipPhaseArraySign` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2523:5 [INFO] [stdout] | [INFO] [stdout] 2523 | FlipPhaseArraySign(unwrappedphase, params, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2524:5 [INFO] [stdout] | [INFO] [stdout] 2524 | / fprintf( [INFO] [stdout] 2525 | | sp1, [INFO] [stdout] 2526 | | b"Writing output to file %s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 2527 | | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] 2528 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2525:9 [INFO] [stdout] | [INFO] [stdout] 2525 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2527:18 [INFO] [stdout] | [INFO] [stdout] 2527 | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::WriteOutputFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2529:5 [INFO] [stdout] | [INFO] [stdout] 2529 | / WriteOutputFile( [INFO] [stdout] 2530 | | mag, [INFO] [stdout] 2531 | | unwrappedphase, [INFO] [stdout] 2532 | | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] ... | [INFO] [stdout] 2535 | | ncol, [INFO] [stdout] 2536 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2532:18 [INFO] [stdout] | [INFO] [stdout] 2532 | &raw mut (*outfiles).outfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2537:5 [INFO] [stdout] | [INFO] [stdout] 2537 | / Free2DArray( [INFO] [stdout] 2538 | | costs, [INFO] [stdout] 2539 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2540 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2541:5 [INFO] [stdout] | [INFO] [stdout] 2541 | / Free2DArray( [INFO] [stdout] 2542 | | mag as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2543 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2544 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2545:5 [INFO] [stdout] | [INFO] [stdout] 2545 | / Free2DArray( [INFO] [stdout] 2546 | | wrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2547 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2548 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2549:5 [INFO] [stdout] | [INFO] [stdout] 2549 | / Free2DArray( [INFO] [stdout] 2550 | | unwrappedphase as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2551 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 2552 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2553:5 [INFO] [stdout] | [INFO] [stdout] 2553 | / Free2DArray( [INFO] [stdout] 2554 | | flows as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2555 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 2556 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2557:5 [INFO] [stdout] | [INFO] [stdout] 2557 | free(nnodesperrow as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::free` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2558:5 [INFO] [stdout] | [INFO] [stdout] 2558 | free(narcsperrow as *mut ::core::ffi::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1903:5 [INFO] [stdout] | [INFO] [stdout] 1903 | mut infiles: *mut infileT, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1904:5 [INFO] [stdout] | [INFO] [stdout] 1904 | mut outfiles: *mut outfileT, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1905:5 [INFO] [stdout] | [INFO] [stdout] 1905 | mut params: *mut paramT, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1906:5 [INFO] [stdout] | [INFO] [stdout] 1906 | mut tileparams: *mut tileparamT, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1907:5 [INFO] [stdout] | [INFO] [stdout] 1907 | mut nlines: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:1908:5 [INFO] [stdout] | [INFO] [stdout] 1908 | mut linelen: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nrow` is never read [INFO] [stdout] --> src/snaphu_full.rs:1910:41 [INFO] [stdout] | [INFO] [stdout] 1910 | let mut nrow: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ncol` is never read [INFO] [stdout] --> src/snaphu_full.rs:1911:41 [INFO] [stdout] | [INFO] [stdout] 1911 | let mut ncol: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n_0` is never read [INFO] [stdout] --> src/snaphu_full.rs:1914:40 [INFO] [stdout] | [INFO] [stdout] 1914 | let mut n_0: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `isource` is never read [INFO] [stdout] --> src/snaphu_full.rs:1923:44 [INFO] [stdout] | [INFO] [stdout] 1923 | let mut isource: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nsource` is never read [INFO] [stdout] --> src/snaphu_full.rs:1924:44 [INFO] [stdout] | [INFO] [stdout] 1924 | let mut nsource: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nnondecreasedcostiter` is never read [INFO] [stdout] --> src/snaphu_full.rs:1925:58 [INFO] [stdout] | [INFO] [stdout] 1925 | let mut nnondecreasedcostiter: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nconnectedarr` is never read [INFO] [stdout] --> src/snaphu_full.rs:1927:9 [INFO] [stdout] | [INFO] [stdout] 1927 | ::core::ptr::null_mut::<::core::ffi::c_long>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `unwrappedphase` is never read [INFO] [stdout] --> src/snaphu_full.rs:1937:9 [INFO] [stdout] | [INFO] [stdout] 1937 | ::core::ptr::null_mut::<*mut ::core::ffi::c_float>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `unwrappedphase` is never read [INFO] [stdout] --> src/snaphu_full.rs:2051:5 [INFO] [stdout] | [INFO] [stdout] 2051 | unwrappedphase = ::core::ptr::null_mut::<*mut ::core::ffi::c_float>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `unwrappedest` is never read [INFO] [stdout] --> src/snaphu_full.rs:1941:9 [INFO] [stdout] | [INFO] [stdout] 1941 | ::core::ptr::null_mut::<*mut ::core::ffi::c_float>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oldtotalcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:1946:40 [INFO] [stdout] | [INFO] [stdout] 1946 | let mut oldtotalcost: totalcostT = 0.; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `oldtotalcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:2189:5 [INFO] [stdout] | [INFO] [stdout] 2189 | oldtotalcost = totalcost; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mintotalcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:1947:40 [INFO] [stdout] | [INFO] [stdout] 1947 | let mut mintotalcost: totalcostT = 0.; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sourcelist` is never read [INFO] [stdout] --> src/snaphu_full.rs:1948:43 [INFO] [stdout] | [INFO] [stdout] 1948 | let mut sourcelist: *mut *mut nodeT = ::core::ptr::null_mut::<*mut nodeT>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/snaphu_full.rs:1949:34 [INFO] [stdout] | [INFO] [stdout] 1949 | let mut source: *mut nodeT = ::core::ptr::null_mut::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nodes_0` is never read [INFO] [stdout] --> src/snaphu_full.rs:1951:40 [INFO] [stdout] | [INFO] [stdout] 1951 | let mut nodes_0: *mut *mut nodeT = ::core::ptr::null_mut::<*mut nodeT>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `allmasked` is never read [INFO] [stdout] --> src/snaphu_full.rs:1968:47 [INFO] [stdout] | [INFO] [stdout] 1968 | let mut allmasked: ::core::ffi::c_schar = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2619:8 [INFO] [stdout] | [INFO] [stdout] 2619 | if (*params).p < 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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] --> src/snaphu_full.rs:2562:1 [INFO] [stdout] | [INFO] [stdout] 2562 | / pub unsafe extern "C" fn BuildCostArrays( [INFO] [stdout] 2563 | | mut costsptr: *mut *mut *mut ::core::ffi::c_void, [INFO] [stdout] 2564 | | mut mstcostsptr: *mut *mut *mut ::core::ffi::c_short, [INFO] [stdout] 2565 | | mut mag: *mut *mut ::core::ffi::c_float, [INFO] [stdout] ... | [INFO] [stdout] 2575 | | mut outfiles: *mut outfileT, [INFO] [stdout] 2576 | | ) -> ::core::ffi::c_int { [INFO] [stdout] | |_______________________^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2620:12 [INFO] [stdout] | [INFO] [stdout] 2620 | if (*params).costmode as ::core::ffi::c_int == TOPO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2621:13 [INFO] [stdout] | [INFO] [stdout] 2621 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2648:13 [INFO] [stdout] | [INFO] [stdout] 2648 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2669:19 [INFO] [stdout] | [INFO] [stdout] 2669 | } else if (*params).costmode as ::core::ffi::c_int == DEFO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2670:13 [INFO] [stdout] | [INFO] [stdout] 2670 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2697:13 [INFO] [stdout] | [INFO] [stdout] 2697 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2718:19 [INFO] [stdout] | [INFO] [stdout] 2718 | } else if (*params).costmode as ::core::ffi::c_int == SMOOTH { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2719:13 [INFO] [stdout] | [INFO] [stdout] 2719 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2746:13 [INFO] [stdout] | [INFO] [stdout] 2746 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2768:15 [INFO] [stdout] | [INFO] [stdout] 2768 | } else if (*params).bidirlpn != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2769:12 [INFO] [stdout] | [INFO] [stdout] 2769 | if (*params).p == 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2770:13 [INFO] [stdout] | [INFO] [stdout] 2770 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2797:13 [INFO] [stdout] | [INFO] [stdout] 2797 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2818:19 [INFO] [stdout] | [INFO] [stdout] 2818 | } else if (*params).p == 1 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2819:13 [INFO] [stdout] | [INFO] [stdout] 2819 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2846:13 [INFO] [stdout] | [INFO] [stdout] 2846 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2867:19 [INFO] [stdout] | [INFO] [stdout] 2867 | } else if (*params).p == 2 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2868:13 [INFO] [stdout] | [INFO] [stdout] 2868 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2895:13 [INFO] [stdout] | [INFO] [stdout] 2895 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2917:13 [INFO] [stdout] | [INFO] [stdout] 2917 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2944:13 [INFO] [stdout] | [INFO] [stdout] 2944 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2966:15 [INFO] [stdout] | [INFO] [stdout] 2966 | } else if (*params).p == 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2967:9 [INFO] [stdout] | [INFO] [stdout] 2967 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:2994:9 [INFO] [stdout] | [INFO] [stdout] 2994 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3015:15 [INFO] [stdout] | [INFO] [stdout] 3015 | } else if (*params).p == 1 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3016:9 [INFO] [stdout] | [INFO] [stdout] 3016 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3043:9 [INFO] [stdout] | [INFO] [stdout] 3043 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3064:15 [INFO] [stdout] | [INFO] [stdout] 3064 | } else if (*params).p == 2 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3065:9 [INFO] [stdout] | [INFO] [stdout] 3065 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3092:9 [INFO] [stdout] | [INFO] [stdout] 3092 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3114:9 [INFO] [stdout] | [INFO] [stdout] 3114 | CalcCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3141:9 [INFO] [stdout] | [INFO] [stdout] 3141 | EvalCost = Some( [INFO] [stdout] | ^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::ReadWeightsFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3164:5 [INFO] [stdout] | [INFO] [stdout] 3164 | / ReadWeightsFile( [INFO] [stdout] 3165 | | &raw mut weights, [INFO] [stdout] 3166 | | &raw mut (*infiles).weightfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3167 | | linelen, [INFO] [stdout] 3168 | | nlines, [INFO] [stdout] 3169 | | tileparams, [INFO] [stdout] 3170 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3166:18 [INFO] [stdout] | [INFO] [stdout] 3166 | &raw mut (*infiles).weightfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3172:17 [INFO] [stdout] | [INFO] [stdout] 3172 | colweight = weights.offset((nrow - 1 as ::core::ffi::c_long) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3179:20 [INFO] [stdout] | [INFO] [stdout] 3179 | if *(*mag.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3179:21 [INFO] [stdout] | [INFO] [stdout] 3179 | if *(*mag.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3179:21 [INFO] [stdout] | [INFO] [stdout] 3179 | if *(*mag.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3179:23 [INFO] [stdout] | [INFO] [stdout] 3179 | if *(*mag.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3183:25 [INFO] [stdout] | [INFO] [stdout] 3183 | / *(*rowweight.offset((row - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3184 | | .offset(col as isize) = 0 as ::core::ffi::c_short; [INFO] [stdout] | |_________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3183:26 [INFO] [stdout] | [INFO] [stdout] 3183 | *(*rowweight.offset((row - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 3184 | | .offset(col as isize) = 0 as ::core::ffi::c_short; [INFO] [stdout] | |_________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3183:26 [INFO] [stdout] | [INFO] [stdout] 3183 | *(*rowweight.offset((row - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3183:28 [INFO] [stdout] | [INFO] [stdout] 3183 | *(*rowweight.offset((row - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3187:25 [INFO] [stdout] | [INFO] [stdout] 3187 | *(*rowweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3187:26 [INFO] [stdout] | [INFO] [stdout] 3187 | *(*rowweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3187:26 [INFO] [stdout] | [INFO] [stdout] 3187 | *(*rowweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3187:28 [INFO] [stdout] | [INFO] [stdout] 3187 | *(*rowweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3191:25 [INFO] [stdout] | [INFO] [stdout] 3191 | / *(*colweight.offset(row as isize)) [INFO] [stdout] 3192 | | .offset((col - 1 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |______________________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3191:26 [INFO] [stdout] | [INFO] [stdout] 3191 | *(*colweight.offset(row as isize)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 3192 | | .offset((col - 1 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |______________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3191:26 [INFO] [stdout] | [INFO] [stdout] 3191 | *(*colweight.offset(row as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3191:28 [INFO] [stdout] | [INFO] [stdout] 3191 | *(*colweight.offset(row as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3196:25 [INFO] [stdout] | [INFO] [stdout] 3196 | *(*colweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3196:26 [INFO] [stdout] | [INFO] [stdout] 3196 | *(*colweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3196:26 [INFO] [stdout] | [INFO] [stdout] 3196 | *(*colweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3196:28 [INFO] [stdout] | [INFO] [stdout] 3196 | *(*colweight.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3205:8 [INFO] [stdout] | [INFO] [stdout] 3205 | if (*params).initonly as ::core::ffi::c_int != 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3206:12 [INFO] [stdout] | [INFO] [stdout] 3206 | && (*params).costmode as ::core::ffi::c_int == NOSTATCOSTS [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3208:9 [INFO] [stdout] | [INFO] [stdout] 3208 | *mstcostsptr = weights; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3211:8 [INFO] [stdout] | [INFO] [stdout] 3211 | if (*params).costmode as ::core::ffi::c_int == TOPO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3213:15 [INFO] [stdout] | [INFO] [stdout] 3213 | } else if (*params).costmode as ::core::ffi::c_int == DEFO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3215:15 [INFO] [stdout] | [INFO] [stdout] 3215 | } else if (*params).costmode as ::core::ffi::c_int == SMOOTH { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3218:8 [INFO] [stdout] | [INFO] [stdout] 3218 | if strlen(&raw mut (*infiles).costinfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3218:24 [INFO] [stdout] | [INFO] [stdout] 3218 | if strlen(&raw mut (*infiles).costinfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3219:9 [INFO] [stdout] | [INFO] [stdout] 3219 | / fprintf( [INFO] [stdout] 3220 | | sp1, [INFO] [stdout] 3221 | | b"Reading cost information from file %s\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3222 | | &raw mut (*infiles).costinfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3223 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3220:13 [INFO] [stdout] | [INFO] [stdout] 3220 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3222:22 [INFO] [stdout] | [INFO] [stdout] 3222 | &raw mut (*infiles).costinfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Read2DRowColFile` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3225:9 [INFO] [stdout] | [INFO] [stdout] 3225 | / Read2DRowColFile( [INFO] [stdout] 3226 | | &raw mut costs, [INFO] [stdout] 3227 | | &raw mut (*infiles).costinfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3228 | | linelen, [INFO] [stdout] ... | [INFO] [stdout] 3231 | | costtypesize as size_t, [INFO] [stdout] 3232 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3227:22 [INFO] [stdout] | [INFO] [stdout] 3227 | &raw mut (*infiles).costinfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3233:9 [INFO] [stdout] | [INFO] [stdout] 3233 | *costsptr = costs; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MaskPrespecifiedArcCosts` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3234:9 [INFO] [stdout] | [INFO] [stdout] 3234 | MaskPrespecifiedArcCosts(costs, weights, nrow, ncol, params); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3235:15 [INFO] [stdout] | [INFO] [stdout] 3235 | } else if (*params).costmode as ::core::ffi::c_int != NOSTATCOSTS { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::GetIntensityAndCorrelation` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3236:9 [INFO] [stdout] | [INFO] [stdout] 3236 | / GetIntensityAndCorrelation( [INFO] [stdout] 3237 | | mag, [INFO] [stdout] 3238 | | wrappedphase, [INFO] [stdout] 3239 | | &raw mut pwr, [INFO] [stdout] ... | [INFO] [stdout] 3248 | | tileparams, [INFO] [stdout] 3249 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3250:12 [INFO] [stdout] | [INFO] [stdout] 3250 | if (*params).costmode as ::core::ffi::c_int == TOPO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3251:13 [INFO] [stdout] | [INFO] [stdout] 3251 | / fprintf( [INFO] [stdout] 3252 | | sp1, [INFO] [stdout] 3253 | | b"Calculating topography-mode cost parameters\n\0" as *const u8 [INFO] [stdout] 3254 | | as *const ::core::ffi::c_char, [INFO] [stdout] 3255 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3252:17 [INFO] [stdout] | [INFO] [stdout] 3252 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildStatCostsTopo` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3256:21 [INFO] [stdout] | [INFO] [stdout] 3256 | costs = BuildStatCostsTopo( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3257 | | wrappedphase, [INFO] [stdout] 3258 | | mag, [INFO] [stdout] 3259 | | unwrappedest, [INFO] [stdout] ... | [INFO] [stdout] 3268 | | params, [INFO] [stdout] 3269 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3270:19 [INFO] [stdout] | [INFO] [stdout] 3270 | } else if (*params).costmode as ::core::ffi::c_int == DEFO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3271:13 [INFO] [stdout] | [INFO] [stdout] 3271 | / fprintf( [INFO] [stdout] 3272 | | sp1, [INFO] [stdout] 3273 | | b"Calculating deformation-mode cost parameters\n\0" as *const u8 [INFO] [stdout] 3274 | | as *const ::core::ffi::c_char, [INFO] [stdout] 3275 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3272:17 [INFO] [stdout] | [INFO] [stdout] 3272 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildStatCostsDefo` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3276:21 [INFO] [stdout] | [INFO] [stdout] 3276 | costs = BuildStatCostsDefo( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3277 | | wrappedphase, [INFO] [stdout] 3278 | | mag, [INFO] [stdout] 3279 | | unwrappedest, [INFO] [stdout] ... | [INFO] [stdout] 3287 | | params, [INFO] [stdout] 3288 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3289:19 [INFO] [stdout] | [INFO] [stdout] 3289 | } else if (*params).costmode as ::core::ffi::c_int == SMOOTH { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3290:13 [INFO] [stdout] | [INFO] [stdout] 3290 | / fprintf( [INFO] [stdout] 3291 | | sp1, [INFO] [stdout] 3292 | | b"Calculating smooth-solution cost parameters\n\0" as *const u8 [INFO] [stdout] 3293 | | as *const ::core::ffi::c_char, [INFO] [stdout] 3294 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3291:17 [INFO] [stdout] | [INFO] [stdout] 3291 | sp1, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildStatCostsSmooth` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3295:21 [INFO] [stdout] | [INFO] [stdout] 3295 | costs = BuildStatCostsSmooth( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3296 | | wrappedphase, [INFO] [stdout] 3297 | | mag, [INFO] [stdout] 3298 | | unwrappedest, [INFO] [stdout] ... | [INFO] [stdout] 3306 | | params, [INFO] [stdout] 3307 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3310:13 [INFO] [stdout] | [INFO] [stdout] 3310 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3311:13 [INFO] [stdout] | [INFO] [stdout] 3311 | / fprintf( [INFO] [stdout] 3312 | | sp0, [INFO] [stdout] 3313 | | b"unrecognized cost mode\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3314 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3312:17 [INFO] [stdout] | [INFO] [stdout] 3312 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3315:13 [INFO] [stdout] | [INFO] [stdout] 3315 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3317:9 [INFO] [stdout] | [INFO] [stdout] 3317 | *costsptr = costs; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3319:8 [INFO] [stdout] | [INFO] [stdout] 3319 | if (*params).costmode as ::core::ffi::c_int == TOPO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3321:19 [INFO] [stdout] | [INFO] [stdout] 3321 | colcost = (costs as *mut *mut costT).offset((nrow - 1 as ::core::ffi::c_long) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3350:15 [INFO] [stdout] | [INFO] [stdout] 3350 | } else if (*params).costmode as ::core::ffi::c_int == DEFO { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3352:19 [INFO] [stdout] | [INFO] [stdout] 3352 | colcost = (costs as *mut *mut costT).offset((nrow - 1 as ::core::ffi::c_long) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3381:15 [INFO] [stdout] | [INFO] [stdout] 3381 | } else if (*params).costmode as ::core::ffi::c_int == SMOOTH { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3383:19 [INFO] [stdout] | [INFO] [stdout] 3383 | colcost = (costs as *mut *mut smoothcostT) [INFO] [stdout] | ___________________^ [INFO] [stdout] 3384 | | .offset((nrow - 1 as ::core::ffi::c_long) as isize) [INFO] [stdout] | |_______________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fflush` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3417:9 [INFO] [stdout] | [INFO] [stdout] 3417 | fflush(::core::ptr::null_mut::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3418:9 [INFO] [stdout] | [INFO] [stdout] 3418 | / fprintf( [INFO] [stdout] 3419 | | sp0, [INFO] [stdout] 3420 | | b"unrecognized cost mode\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3421 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3419:13 [INFO] [stdout] | [INFO] [stdout] 3419 | sp0, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::exit` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3422:9 [INFO] [stdout] | [INFO] [stdout] 3422 | exit(ABNORMAL_EXIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3424:8 [INFO] [stdout] | [INFO] [stdout] 3424 | if strlen(&raw mut (*infiles).costinfile as *mut ::core::ffi::c_char) != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3424:24 [INFO] [stdout] | [INFO] [stdout] 3424 | if strlen(&raw mut (*infiles).costinfile as *mut ::core::ffi::c_char) != 0 [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3425:12 [INFO] [stdout] | [INFO] [stdout] 3425 | || (*params).costmode as ::core::ffi::c_int != NOSTATCOSTS [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3427:12 [INFO] [stdout] | [INFO] [stdout] 3427 | if strlen(&raw mut (*outfiles).costoutfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3427:28 [INFO] [stdout] | [INFO] [stdout] 3427 | if strlen(&raw mut (*outfiles).costoutfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DRowColArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3428:13 [INFO] [stdout] | [INFO] [stdout] 3428 | / Write2DRowColArray( [INFO] [stdout] 3429 | | costs, [INFO] [stdout] 3430 | | &raw mut (*outfiles).costoutfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3431 | | nrow, [INFO] [stdout] 3432 | | ncol, [INFO] [stdout] 3433 | | costtypesize as size_t, [INFO] [stdout] 3434 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3430:26 [INFO] [stdout] | [INFO] [stdout] 3430 | &raw mut (*outfiles).costoutfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3436:16 [INFO] [stdout] | [INFO] [stdout] 3436 | if strlen(&raw mut (*outfiles).rowcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3436:32 [INFO] [stdout] | [INFO] [stdout] 3436 | if strlen(&raw mut (*outfiles).rowcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3437:17 [INFO] [stdout] | [INFO] [stdout] 3437 | / Write2DArray( [INFO] [stdout] 3438 | | rowcost, [INFO] [stdout] 3439 | | &raw mut (*outfiles).rowcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3440 | | nrow - 1 as ::core::ffi::c_long, [INFO] [stdout] 3441 | | ncol, [INFO] [stdout] 3442 | | costtypesize as size_t, [INFO] [stdout] 3443 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3439:30 [INFO] [stdout] | [INFO] [stdout] 3439 | &raw mut (*outfiles).rowcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3445:16 [INFO] [stdout] | [INFO] [stdout] 3445 | if strlen(&raw mut (*outfiles).colcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3445:32 [INFO] [stdout] | [INFO] [stdout] 3445 | if strlen(&raw mut (*outfiles).colcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3446:17 [INFO] [stdout] | [INFO] [stdout] 3446 | / Write2DArray( [INFO] [stdout] 3447 | | colcost, [INFO] [stdout] 3448 | | &raw mut (*outfiles).colcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3449 | | nrow, [INFO] [stdout] 3450 | | ncol - 1 as ::core::ffi::c_long, [INFO] [stdout] 3451 | | costtypesize as size_t, [INFO] [stdout] 3452 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3448:30 [INFO] [stdout] | [INFO] [stdout] 3448 | &raw mut (*outfiles).colcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3456:8 [INFO] [stdout] | [INFO] [stdout] 3456 | if (*params).p >= 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3457:12 [INFO] [stdout] | [INFO] [stdout] 3457 | if (*params).bidirlpn != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DRowColMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3458:26 [INFO] [stdout] | [INFO] [stdout] 3458 | bidircosts = Get2DRowColMem( [INFO] [stdout] | __________________________^ [INFO] [stdout] 3459 | | nrow, [INFO] [stdout] 3460 | | ncol, [INFO] [stdout] 3461 | | ::core::mem::size_of::<*mut bidircostT>() as ::core::ffi::c_int, [INFO] [stdout] 3462 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 3463 | | ) as *mut *mut bidircostT; [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3464:13 [INFO] [stdout] | [INFO] [stdout] 3464 | *costsptr = bidircosts as *mut *mut ::core::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DRowColMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3466:27 [INFO] [stdout] | [INFO] [stdout] 3466 | scalarcosts = Get2DRowColMem( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 3467 | | nrow, [INFO] [stdout] 3468 | | ncol, [INFO] [stdout] 3469 | | ::core::mem::size_of::<*mut ::core::ffi::c_short>() as ::core::ffi::c_int, [INFO] [stdout] 3470 | | ::core::mem::size_of::<::core::ffi::c_short>() as size_t, [INFO] [stdout] 3471 | | ) as *mut *mut ::core::ffi::c_short; [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3472:13 [INFO] [stdout] | [INFO] [stdout] 3472 | *costsptr = scalarcosts as *mut *mut ::core::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3475:8 [INFO] [stdout] | [INFO] [stdout] 3475 | if (*params).costmode as ::core::ffi::c_int == NOSTATCOSTS { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3476:12 [INFO] [stdout] | [INFO] [stdout] 3476 | if (*params).initonly == 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3486:24 [INFO] [stdout] | [INFO] [stdout] 3486 | if (*params).bidirlpn != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3487:25 [INFO] [stdout] | [INFO] [stdout] 3487 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3487:27 [INFO] [stdout] | [INFO] [stdout] 3487 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3487:27 [INFO] [stdout] | [INFO] [stdout] 3487 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3487:29 [INFO] [stdout] | [INFO] [stdout] 3487 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3488:29 [INFO] [stdout] | [INFO] [stdout] 3488 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3488:30 [INFO] [stdout] | [INFO] [stdout] 3488 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3488:30 [INFO] [stdout] | [INFO] [stdout] 3488 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3488:32 [INFO] [stdout] | [INFO] [stdout] 3488 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3489:25 [INFO] [stdout] | [INFO] [stdout] 3489 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3489:27 [INFO] [stdout] | [INFO] [stdout] 3489 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3489:27 [INFO] [stdout] | [INFO] [stdout] 3489 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3489:29 [INFO] [stdout] | [INFO] [stdout] 3489 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3490:29 [INFO] [stdout] | [INFO] [stdout] 3490 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3490:30 [INFO] [stdout] | [INFO] [stdout] 3490 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3490:30 [INFO] [stdout] | [INFO] [stdout] 3490 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3490:32 [INFO] [stdout] | [INFO] [stdout] 3490 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3492:25 [INFO] [stdout] | [INFO] [stdout] 3492 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3492:26 [INFO] [stdout] | [INFO] [stdout] 3492 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3492:26 [INFO] [stdout] | [INFO] [stdout] 3492 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3492:28 [INFO] [stdout] | [INFO] [stdout] 3492 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3493:29 [INFO] [stdout] | [INFO] [stdout] 3493 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3493:30 [INFO] [stdout] | [INFO] [stdout] 3493 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3493:30 [INFO] [stdout] | [INFO] [stdout] 3493 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3493:32 [INFO] [stdout] | [INFO] [stdout] 3493 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3500:12 [INFO] [stdout] | [INFO] [stdout] 3500 | if (*params).unwrapped == 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3501:13 [INFO] [stdout] | [INFO] [stdout] 3501 | *mstcostsptr = weights; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3503:13 [INFO] [stdout] | [INFO] [stdout] 3503 | / Free2DArray( [INFO] [stdout] 3504 | | weights as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3505 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 3506 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3507:13 [INFO] [stdout] | [INFO] [stdout] 3507 | *mstcostsptr = ::core::ptr::null_mut::<*mut ::core::ffi::c_short>(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3509:15 [INFO] [stdout] | [INFO] [stdout] 3509 | } else if (*params).unwrapped == 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3510:12 [INFO] [stdout] | [INFO] [stdout] 3510 | || (*params).p >= 0 as ::core::ffi::c_int as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3521:17 [INFO] [stdout] | [INFO] [stdout] 3521 | / CalcStatCost.expect("non-null function pointer")( [INFO] [stdout] 3522 | | costs, [INFO] [stdout] 3523 | | 0 as ::core::ffi::c_long, [INFO] [stdout] 3524 | | row, [INFO] [stdout] ... | [INFO] [stdout] 3530 | | &raw mut negcost, [INFO] [stdout] 3531 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3537:17 [INFO] [stdout] | [INFO] [stdout] 3537 | *(*weights.offset(row as isize)).offset(col as isize) = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3537:18 [INFO] [stdout] | [INFO] [stdout] 3537 | *(*weights.offset(row as isize)).offset(col as isize) = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3537:18 [INFO] [stdout] | [INFO] [stdout] 3537 | *(*weights.offset(row as isize)).offset(col as isize) = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3537:20 [INFO] [stdout] | [INFO] [stdout] 3537 | *(*weights.offset(row as isize)).offset(col as isize) = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::LClip` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3537:73 [INFO] [stdout] | [INFO] [stdout] 3537 | *(*weights.offset(row as isize)).offset(col as isize) = LClip( [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 3538 | | tempcost, [INFO] [stdout] 3539 | | MINSCALARCOST as ::core::ffi::c_long, [INFO] [stdout] 3540 | | (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] 3541 | | ) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3540:21 [INFO] [stdout] | [INFO] [stdout] 3540 | (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3543:20 [INFO] [stdout] | [INFO] [stdout] 3543 | if (*params).p >= 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3544:24 [INFO] [stdout] | [INFO] [stdout] 3544 | if (*params).bidirlpn != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3545:25 [INFO] [stdout] | [INFO] [stdout] 3545 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3545:27 [INFO] [stdout] | [INFO] [stdout] 3545 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3545:27 [INFO] [stdout] | [INFO] [stdout] 3545 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3545:29 [INFO] [stdout] | [INFO] [stdout] 3545 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::LClip` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3545:96 [INFO] [stdout] | [INFO] [stdout] 3545 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).posweight = LClip( [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 3546 | | poscost, [INFO] [stdout] 3547 | | 0 as ::core::ffi::c_long, [INFO] [stdout] 3548 | | (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] 3549 | | ) [INFO] [stdout] | |_________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3548:29 [INFO] [stdout] | [INFO] [stdout] 3548 | ... (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3551:25 [INFO] [stdout] | [INFO] [stdout] 3551 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3551:27 [INFO] [stdout] | [INFO] [stdout] 3551 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3551:27 [INFO] [stdout] | [INFO] [stdout] 3551 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3551:29 [INFO] [stdout] | [INFO] [stdout] 3551 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = LClip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::LClip` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3551:96 [INFO] [stdout] | [INFO] [stdout] 3551 | (*(*bidircosts.offset(row as isize)).offset(col as isize)).negweight = LClip( [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 3552 | | negcost, [INFO] [stdout] 3553 | | 0 as ::core::ffi::c_long, [INFO] [stdout] 3554 | | (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] 3555 | | ) [INFO] [stdout] | |_________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3554:29 [INFO] [stdout] | [INFO] [stdout] 3554 | ... (*params).maxcost as ::core::ffi::c_long, [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3558:25 [INFO] [stdout] | [INFO] [stdout] 3558 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3558:26 [INFO] [stdout] | [INFO] [stdout] 3558 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3558:26 [INFO] [stdout] | [INFO] [stdout] 3558 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3558:28 [INFO] [stdout] | [INFO] [stdout] 3558 | *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3559:29 [INFO] [stdout] | [INFO] [stdout] 3559 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3559:30 [INFO] [stdout] | [INFO] [stdout] 3559 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3559:30 [INFO] [stdout] | [INFO] [stdout] 3559 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3559:32 [INFO] [stdout] | [INFO] [stdout] 3559 | ... *(*weights.offset(row as isize)).offset(col as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3563:29 [INFO] [stdout] | [INFO] [stdout] 3563 | ... *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3563:30 [INFO] [stdout] | [INFO] [stdout] 3563 | ... *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3563:30 [INFO] [stdout] | [INFO] [stdout] 3563 | ... *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3563:32 [INFO] [stdout] | [INFO] [stdout] 3563 | ... *(*scalarcosts.offset(row as isize)).offset(col as isize) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3572:9 [INFO] [stdout] | [INFO] [stdout] 3572 | / *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3573 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3572:10 [INFO] [stdout] | [INFO] [stdout] 3572 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________^ [INFO] [stdout] 3573 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3572:10 [INFO] [stdout] | [INFO] [stdout] 3572 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3572:12 [INFO] [stdout] | [INFO] [stdout] 3572 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3574:9 [INFO] [stdout] | [INFO] [stdout] 3574 | / *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3575 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3574:10 [INFO] [stdout] | [INFO] [stdout] 3574 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________^ [INFO] [stdout] 3575 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3574:10 [INFO] [stdout] | [INFO] [stdout] 3574 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3574:12 [INFO] [stdout] | [INFO] [stdout] 3574 | *(*weights.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3577:9 [INFO] [stdout] | [INFO] [stdout] 3577 | / *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3578 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3577:10 [INFO] [stdout] | [INFO] [stdout] 3577 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________^ [INFO] [stdout] 3578 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3577:10 [INFO] [stdout] | [INFO] [stdout] 3577 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3577:12 [INFO] [stdout] | [INFO] [stdout] 3577 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3579:9 [INFO] [stdout] | [INFO] [stdout] 3579 | / *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3580 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3579:10 [INFO] [stdout] | [INFO] [stdout] 3579 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________^ [INFO] [stdout] 3580 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3579:10 [INFO] [stdout] | [INFO] [stdout] 3579 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3579:12 [INFO] [stdout] | [INFO] [stdout] 3579 | *(*weights.offset((2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3582:12 [INFO] [stdout] | [INFO] [stdout] 3582 | if (*params).p >= 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3583:16 [INFO] [stdout] | [INFO] [stdout] 3583 | if (*params).bidirlpn != 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3584:17 [INFO] [stdout] | [INFO] [stdout] 3584 | / (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3585 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |______________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3584:19 [INFO] [stdout] | [INFO] [stdout] 3584 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ___________________^ [INFO] [stdout] 3585 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |_____________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3584:19 [INFO] [stdout] | [INFO] [stdout] 3584 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3584:21 [INFO] [stdout] | [INFO] [stdout] 3584 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3587:17 [INFO] [stdout] | [INFO] [stdout] 3587 | / (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3588 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |______________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3587:19 [INFO] [stdout] | [INFO] [stdout] 3587 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ___________________^ [INFO] [stdout] 3588 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |_____________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3587:19 [INFO] [stdout] | [INFO] [stdout] 3587 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3587:21 [INFO] [stdout] | [INFO] [stdout] 3587 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3590:17 [INFO] [stdout] | [INFO] [stdout] 3590 | / (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3591 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |________________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3590:19 [INFO] [stdout] | [INFO] [stdout] 3590 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ___________________^ [INFO] [stdout] 3591 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3590:19 [INFO] [stdout] | [INFO] [stdout] 3590 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3590:21 [INFO] [stdout] | [INFO] [stdout] 3590 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3593:17 [INFO] [stdout] | [INFO] [stdout] 3593 | / (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3594 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |________________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3593:19 [INFO] [stdout] | [INFO] [stdout] 3593 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ___________________^ [INFO] [stdout] 3594 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3593:19 [INFO] [stdout] | [INFO] [stdout] 3593 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3593:21 [INFO] [stdout] | [INFO] [stdout] 3593 | (*(*bidircosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3596:17 [INFO] [stdout] | [INFO] [stdout] 3596 | / (*(*bidircosts.offset( [INFO] [stdout] 3597 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3598 | | )) [INFO] [stdout] 3599 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |__________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3596:19 [INFO] [stdout] | [INFO] [stdout] 3596 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3597 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3598 | | )) [INFO] [stdout] 3599 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3596:19 [INFO] [stdout] | [INFO] [stdout] 3596 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3597 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3598 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3596:21 [INFO] [stdout] | [INFO] [stdout] 3596 | (*(*bidircosts.offset( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3597 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3598 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3601:17 [INFO] [stdout] | [INFO] [stdout] 3601 | / (*(*bidircosts.offset( [INFO] [stdout] 3602 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3603 | | )) [INFO] [stdout] 3604 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |__________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3601:19 [INFO] [stdout] | [INFO] [stdout] 3601 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3602 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3603 | | )) [INFO] [stdout] 3604 | | .offset(0 as ::core::ffi::c_int as isize)) [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3601:19 [INFO] [stdout] | [INFO] [stdout] 3601 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3602 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3603 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3601:21 [INFO] [stdout] | [INFO] [stdout] 3601 | (*(*bidircosts.offset( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3602 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3603 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3606:17 [INFO] [stdout] | [INFO] [stdout] 3606 | / (*(*bidircosts.offset( [INFO] [stdout] 3607 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3608 | | )) [INFO] [stdout] 3609 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |____________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3606:19 [INFO] [stdout] | [INFO] [stdout] 3606 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3607 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3608 | | )) [INFO] [stdout] 3609 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |___________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3606:19 [INFO] [stdout] | [INFO] [stdout] 3606 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3607 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3608 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3606:21 [INFO] [stdout] | [INFO] [stdout] 3606 | (*(*bidircosts.offset( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3607 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3608 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3611:17 [INFO] [stdout] | [INFO] [stdout] 3611 | / (*(*bidircosts.offset( [INFO] [stdout] 3612 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3613 | | )) [INFO] [stdout] 3614 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |____________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3611:19 [INFO] [stdout] | [INFO] [stdout] 3611 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3612 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3613 | | )) [INFO] [stdout] 3614 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | |___________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3611:19 [INFO] [stdout] | [INFO] [stdout] 3611 | (*(*bidircosts.offset( [INFO] [stdout] | ___________________^ [INFO] [stdout] 3612 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3613 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3611:21 [INFO] [stdout] | [INFO] [stdout] 3611 | (*(*bidircosts.offset( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3612 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3613 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3617:17 [INFO] [stdout] | [INFO] [stdout] 3617 | / *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3618 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3617:18 [INFO] [stdout] | [INFO] [stdout] 3617 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________________^ [INFO] [stdout] 3618 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_____________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3617:18 [INFO] [stdout] | [INFO] [stdout] 3617 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3617:20 [INFO] [stdout] | [INFO] [stdout] 3617 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3619:17 [INFO] [stdout] | [INFO] [stdout] 3619 | / *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] 3620 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3619:18 [INFO] [stdout] | [INFO] [stdout] 3619 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | __________________^ [INFO] [stdout] 3620 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |_______________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3619:18 [INFO] [stdout] | [INFO] [stdout] 3619 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3619:20 [INFO] [stdout] | [INFO] [stdout] 3619 | *(*scalarcosts.offset((nrow - 1 as ::core::ffi::c_long) as isize)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3622:17 [INFO] [stdout] | [INFO] [stdout] 3622 | / *(*scalarcosts.offset( [INFO] [stdout] 3623 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3624 | | )) [INFO] [stdout] 3625 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3622:18 [INFO] [stdout] | [INFO] [stdout] 3622 | *(*scalarcosts.offset( [INFO] [stdout] | __________________^ [INFO] [stdout] 3623 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3624 | | )) [INFO] [stdout] 3625 | | .offset(0 as ::core::ffi::c_int as isize) = LARGESHORT as ::core::ffi::c_short; [INFO] [stdout] | |_________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3622:18 [INFO] [stdout] | [INFO] [stdout] 3622 | *(*scalarcosts.offset( [INFO] [stdout] | __________________^ [INFO] [stdout] 3623 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3624 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3622:20 [INFO] [stdout] | [INFO] [stdout] 3622 | *(*scalarcosts.offset( [INFO] [stdout] | ____________________^ [INFO] [stdout] 3623 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3624 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3626:17 [INFO] [stdout] | [INFO] [stdout] 3626 | / *(*scalarcosts.offset( [INFO] [stdout] 3627 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3628 | | )) [INFO] [stdout] 3629 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |___________________________________________________________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3626:18 [INFO] [stdout] | [INFO] [stdout] 3626 | *(*scalarcosts.offset( [INFO] [stdout] | __________________^ [INFO] [stdout] 3627 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3628 | | )) [INFO] [stdout] 3629 | | .offset((ncol - 2 as ::core::ffi::c_long) as isize) = [INFO] [stdout] | |___________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3626:18 [INFO] [stdout] | [INFO] [stdout] 3626 | *(*scalarcosts.offset( [INFO] [stdout] | __________________^ [INFO] [stdout] 3627 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3628 | | )) [INFO] [stdout] | |__________________^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3626:20 [INFO] [stdout] | [INFO] [stdout] 3626 | *(*scalarcosts.offset( [INFO] [stdout] | ____________________^ [INFO] [stdout] 3627 | | (2 as ::core::ffi::c_long * nrow - 2 as ::core::ffi::c_long) as isize, [INFO] [stdout] 3628 | | )) [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3633:12 [INFO] [stdout] | [INFO] [stdout] 3633 | if strlen(&raw mut (*outfiles).mstrowcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3633:28 [INFO] [stdout] | [INFO] [stdout] 3633 | if strlen(&raw mut (*outfiles).mstrowcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3634:13 [INFO] [stdout] | [INFO] [stdout] 3634 | / Write2DArray( [INFO] [stdout] 3635 | | rowweight as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3636 | | &raw mut (*outfiles).mstrowcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3637 | | nrow - 1 as ::core::ffi::c_long, [INFO] [stdout] 3638 | | ncol, [INFO] [stdout] 3639 | | ::core::mem::size_of::<::core::ffi::c_short>() as size_t, [INFO] [stdout] 3640 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3636:26 [INFO] [stdout] | [INFO] [stdout] 3636 | &raw mut (*outfiles).mstrowcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3642:12 [INFO] [stdout] | [INFO] [stdout] 3642 | if strlen(&raw mut (*outfiles).mstcolcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3642:28 [INFO] [stdout] | [INFO] [stdout] 3642 | if strlen(&raw mut (*outfiles).mstcolcostfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3643:13 [INFO] [stdout] | [INFO] [stdout] 3643 | / Write2DArray( [INFO] [stdout] 3644 | | colweight as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3645 | | &raw mut (*outfiles).mstcolcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3646 | | nrow, [INFO] [stdout] 3647 | | ncol - 1 as ::core::ffi::c_long, [INFO] [stdout] 3648 | | ::core::mem::size_of::<::core::ffi::c_short>() as size_t, [INFO] [stdout] 3649 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3645:26 [INFO] [stdout] | [INFO] [stdout] 3645 | &raw mut (*outfiles).mstcolcostfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3651:12 [INFO] [stdout] | [INFO] [stdout] 3651 | if strlen(&raw mut (*outfiles).mstcostsfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3651:28 [INFO] [stdout] | [INFO] [stdout] 3651 | if strlen(&raw mut (*outfiles).mstcostsfile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DRowColArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3652:13 [INFO] [stdout] | [INFO] [stdout] 3652 | / Write2DRowColArray( [INFO] [stdout] 3653 | | rowweight as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3654 | | &raw mut (*outfiles).mstcostsfile as *mut ::core::ffi::c_char, [INFO] [stdout] 3655 | | nrow, [INFO] [stdout] 3656 | | ncol, [INFO] [stdout] 3657 | | ::core::mem::size_of::<::core::ffi::c_short>() as size_t, [INFO] [stdout] 3658 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3654:26 [INFO] [stdout] | [INFO] [stdout] 3654 | &raw mut (*outfiles).mstcostsfile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3660:12 [INFO] [stdout] | [INFO] [stdout] 3660 | if (*params).initmaxflow == AUTOCALCSTATMAX as ::core::ffi::c_long [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3661:16 [INFO] [stdout] | [INFO] [stdout] 3661 | && (*params).unwrapped == 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CalcInitMaxFlow` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3663:13 [INFO] [stdout] | [INFO] [stdout] 3663 | CalcInitMaxFlow(params, costs, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3665:12 [INFO] [stdout] | [INFO] [stdout] 3665 | if (*params).initonly as ::core::ffi::c_int != 0 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3666:16 [INFO] [stdout] | [INFO] [stdout] 3666 | || (*params).p >= 0 as ::core::ffi::c_int as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3668:13 [INFO] [stdout] | [INFO] [stdout] 3668 | / Free2DArray( [INFO] [stdout] 3669 | | costs, [INFO] [stdout] 3670 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 3671 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3673:12 [INFO] [stdout] | [INFO] [stdout] 3673 | if (*params).unwrapped == 0 { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3674:13 [INFO] [stdout] | [INFO] [stdout] 3674 | *mstcostsptr = weights; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3676:13 [INFO] [stdout] | [INFO] [stdout] 3676 | / Free2DArray( [INFO] [stdout] 3677 | | weights as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3678 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 3679 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3682:9 [INFO] [stdout] | [INFO] [stdout] 3682 | / Free2DArray( [INFO] [stdout] 3683 | | weights as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3684 | | (2 as ::core::ffi::c_long * nrow - 1 as ::core::ffi::c_long) as ::core::ffi::c_uint, [INFO] [stdout] 3685 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2563:5 [INFO] [stdout] | [INFO] [stdout] 2563 | mut costsptr: *mut *mut *mut ::core::ffi::c_void, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2564:5 [INFO] [stdout] | [INFO] [stdout] 2564 | mut mstcostsptr: *mut *mut *mut ::core::ffi::c_short, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2565:5 [INFO] [stdout] | [INFO] [stdout] 2565 | mut mag: *mut *mut ::core::ffi::c_float, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2566:5 [INFO] [stdout] | [INFO] [stdout] 2566 | mut wrappedphase: *mut *mut ::core::ffi::c_float, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2567:5 [INFO] [stdout] | [INFO] [stdout] 2567 | mut unwrappedest: *mut *mut ::core::ffi::c_float, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2568:5 [INFO] [stdout] | [INFO] [stdout] 2568 | mut linelen: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2569:5 [INFO] [stdout] | [INFO] [stdout] 2569 | mut nlines: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2570:5 [INFO] [stdout] | [INFO] [stdout] 2570 | mut nrow: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2571:5 [INFO] [stdout] | [INFO] [stdout] 2571 | mut ncol: ::core::ffi::c_long, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2572:5 [INFO] [stdout] | [INFO] [stdout] 2572 | mut params: *mut paramT, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2573:5 [INFO] [stdout] | [INFO] [stdout] 2573 | mut tileparams: *mut tileparamT, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2574:5 [INFO] [stdout] | [INFO] [stdout] 2574 | mut infiles: *mut infileT, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/snaphu_full.rs:2575:5 [INFO] [stdout] | [INFO] [stdout] 2575 | mut outfiles: *mut outfileT, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `row` is never read [INFO] [stdout] --> src/snaphu_full.rs:2577:40 [INFO] [stdout] | [INFO] [stdout] 2577 | let mut row: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `col` is never read [INFO] [stdout] --> src/snaphu_full.rs:2578:40 [INFO] [stdout] | [INFO] [stdout] 2578 | let mut col: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxcol` is never read [INFO] [stdout] --> src/snaphu_full.rs:2579:43 [INFO] [stdout] | [INFO] [stdout] 2579 | let mut maxcol: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tempcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:2580:45 [INFO] [stdout] | [INFO] [stdout] 2580 | let mut tempcost: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `costtypesize` is never read [INFO] [stdout] --> src/snaphu_full.rs:2583:49 [INFO] [stdout] | [INFO] [stdout] 2583 | let mut costtypesize: ::core::ffi::c_long = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `weights` is never read [INFO] [stdout] --> src/snaphu_full.rs:2589:9 [INFO] [stdout] | [INFO] [stdout] 2589 | ::core::ptr::null_mut::<*mut ::core::ffi::c_short>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rowweight` is never read [INFO] [stdout] --> src/snaphu_full.rs:2591:9 [INFO] [stdout] | [INFO] [stdout] 2591 | ::core::ptr::null_mut::<*mut ::core::ffi::c_short>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colweight` is never read [INFO] [stdout] --> src/snaphu_full.rs:2593:9 [INFO] [stdout] | [INFO] [stdout] 2593 | ::core::ptr::null_mut::<*mut ::core::ffi::c_short>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scalarcosts` is never read [INFO] [stdout] --> src/snaphu_full.rs:2595:9 [INFO] [stdout] | [INFO] [stdout] 2595 | ::core::ptr::null_mut::<*mut ::core::ffi::c_short>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bidircosts` is never read [INFO] [stdout] --> src/snaphu_full.rs:2596:48 [INFO] [stdout] | [INFO] [stdout] 2596 | let mut bidircosts: *mut *mut bidircostT = ::core::ptr::null_mut::<*mut bidircostT>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `costs` is never read [INFO] [stdout] --> src/snaphu_full.rs:3309:13 [INFO] [stdout] | [INFO] [stdout] 3309 | costs = ::core::ptr::null_mut::<*mut ::core::ffi::c_void>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rowcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:2600:9 [INFO] [stdout] | [INFO] [stdout] 2600 | ::core::ptr::null_mut::<*mut ::core::ffi::c_void>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rowcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:3414:9 [INFO] [stdout] | [INFO] [stdout] 3414 | rowcost = ::core::ptr::null_mut::<*mut ::core::ffi::c_void>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:2602:9 [INFO] [stdout] | [INFO] [stdout] 2602 | ::core::ptr::null_mut::<*mut ::core::ffi::c_void>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `colcost` is never read [INFO] [stdout] --> src/snaphu_full.rs:3415:9 [INFO] [stdout] | [INFO] [stdout] 3415 | colcost = ::core::ptr::null_mut::<*mut ::core::ffi::c_void>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `CalcStatCost` is never read [INFO] [stdout] --> src/snaphu_full.rs:2615:9 [INFO] [stdout] | [INFO] [stdout] 2615 | > = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `CalcStatCost` is never read [INFO] [stdout] --> src/snaphu_full.rs:3416:9 [INFO] [stdout] | [INFO] [stdout] 3416 | CalcStatCost = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DRowColMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3777:13 [INFO] [stdout] | [INFO] [stdout] 3777 | costs = Get2DRowColMem( [INFO] [stdout] | _____________^ [INFO] [stdout] 3778 | | nrow, [INFO] [stdout] 3779 | | ncol, [INFO] [stdout] 3780 | | ::core::mem::size_of::<*mut costT>() as ::core::ffi::c_int, [INFO] [stdout] 3781 | | ::core::mem::size_of::() as size_t, [INFO] [stdout] 3782 | | ) as *mut *mut costT; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [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] --> src/snaphu_full.rs:3689:1 [INFO] [stdout] | [INFO] [stdout] 3689 | / unsafe extern "C" fn BuildStatCostsTopo( [INFO] [stdout] 3690 | | mut wrappedphase: *mut *mut ::core::ffi::c_float, [INFO] [stdout] 3691 | | mut mag: *mut *mut ::core::ffi::c_float, [INFO] [stdout] 3692 | | mut unwrappedest: *mut *mut ::core::ffi::c_float, [INFO] [stdout] ... | [INFO] [stdout] 3701 | | mut params: *mut paramT, [INFO] [stdout] 3702 | | ) -> *mut *mut ::core::ffi::c_void { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] = note: for more information, see [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] --> src/snaphu_full.rs:3784:15 [INFO] [stdout] | [INFO] [stdout] 3784 | colcost = costs.offset((nrow - 1 as ::core::ffi::c_long) as isize) as *mut *mut costT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3785:12 [INFO] [stdout] | [INFO] [stdout] 3785 | rho0 = (*params).rhosconst1 / (*params).ncorrlooks + (*params).rhosconst2; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3785:35 [INFO] [stdout] | [INFO] [stdout] 3785 | rho0 = (*params).rhosconst1 / (*params).ncorrlooks + (*params).rhosconst2; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3785:58 [INFO] [stdout] | [INFO] [stdout] 3785 | rho0 = (*params).rhosconst1 / (*params).ncorrlooks + (*params).rhosconst2; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3786:14 [INFO] [stdout] | [INFO] [stdout] 3786 | rhomin = (*params).rhominfactor * rho0; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3787:65 [INFO] [stdout] | [INFO] [stdout] 3787 | rhopow = 2 as ::core::ffi::c_int as ::core::ffi::c_double * (*params).cstd1 [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3788:11 [INFO] [stdout] | [INFO] [stdout] 3788 | + (*params).cstd2 * log((*params).ncorrlooks) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::log` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3788:29 [INFO] [stdout] | [INFO] [stdout] 3788 | + (*params).cstd2 * log((*params).ncorrlooks) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3788:33 [INFO] [stdout] | [INFO] [stdout] 3788 | + (*params).cstd2 * log((*params).ncorrlooks) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3789:11 [INFO] [stdout] | [INFO] [stdout] 3789 | + (*params).cstd3 * (*params).ncorrlooks; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3789:29 [INFO] [stdout] | [INFO] [stdout] 3789 | + (*params).cstd3 * (*params).ncorrlooks; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3790:21 [INFO] [stdout] | [INFO] [stdout] 3790 | sigsqshortmin = (*params).sigsqshortmin; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3791:17 [INFO] [stdout] | [INFO] [stdout] 3791 | kperpdpsi = (*params).kperpdpsi; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3792:16 [INFO] [stdout] | [INFO] [stdout] 3792 | kpardpsi = (*params).kpardpsi; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3793:10 [INFO] [stdout] | [INFO] [stdout] 3793 | dr = (*params).dr; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3794:17 [INFO] [stdout] | [INFO] [stdout] 3794 | nearrange = (*params).nearrange + dr * (*tileparams).firstcol as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3794:44 [INFO] [stdout] | [INFO] [stdout] 3794 | nearrange = (*params).nearrange + dr * (*tileparams).firstcol as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3795:12 [INFO] [stdout] | [INFO] [stdout] 3795 | drho = (*params).drho; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::floor` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3796:12 [INFO] [stdout] | [INFO] [stdout] 3796 | nrho = floor((1 as ::core::ffi::c_int as ::core::ffi::c_double - rhomin) / drho) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3799:19 [INFO] [stdout] | [INFO] [stdout] 3799 | nshortcycle = (*params).nshortcycle as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3800:16 [INFO] [stdout] | [INFO] [stdout] 3800 | layminei = (*params).layminei; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3801:16 [INFO] [stdout] | [INFO] [stdout] 3801 | laywidth = (*params).laywidth as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3802:18 [INFO] [stdout] | [INFO] [stdout] 3802 | azdzfactor = (*params).azdzfactor; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3803:18 [INFO] [stdout] | [INFO] [stdout] 3803 | dzeifactor = (*params).dzeifactor; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3804:18 [INFO] [stdout] | [INFO] [stdout] 3804 | dzeiweight = (*params).dzeiweight; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3805:15 [INFO] [stdout] | [INFO] [stdout] 3805 | dzeimin = (*params).dzeimin; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3806:19 [INFO] [stdout] | [INFO] [stdout] 3806 | dzlayfactor = (*params).dzlayfactor; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3807:15 [INFO] [stdout] | [INFO] [stdout] 3807 | sigsqei = (*params).sigsqei; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3808:14 [INFO] [stdout] | [INFO] [stdout] 3808 | lambda = (*params).lambda; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3809:17 [INFO] [stdout] | [INFO] [stdout] 3809 | noshadow = ((*params).shadow == 0) as ::core::ffi::c_int as ::core::ffi::c_schar; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3810:9 [INFO] [stdout] | [INFO] [stdout] 3810 | a = (*params).orbitradius; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3811:10 [INFO] [stdout] | [INFO] [stdout] 3811 | re = (*params).earthradius; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3812:5 [INFO] [stdout] | [INFO] [stdout] 3812 | / fprintf( [INFO] [stdout] 3813 | | sp2, [INFO] [stdout] 3814 | | b"Despeckling intensity image\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3815 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3813:9 [INFO] [stdout] | [INFO] [stdout] 3813 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Despeckle` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3817:5 [INFO] [stdout] | [INFO] [stdout] 3817 | Despeckle(pwr, &raw mut ei, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Free2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3818:5 [INFO] [stdout] | [INFO] [stdout] 3818 | / Free2DArray( [INFO] [stdout] 3819 | | pwr as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3820 | | nrow as ::core::ffi::c_uint, [INFO] [stdout] 3821 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3822:5 [INFO] [stdout] | [INFO] [stdout] 3822 | / fprintf( [INFO] [stdout] 3823 | | sp2, [INFO] [stdout] 3824 | | b"Normalizing intensity\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3825 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3823:9 [INFO] [stdout] | [INFO] [stdout] 3823 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::RemoveMean` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3826:5 [INFO] [stdout] | [INFO] [stdout] 3826 | RemoveMean(ei, nrow, ncol, (*params).krowei, (*params).kcolei); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3826:32 [INFO] [stdout] | [INFO] [stdout] 3826 | RemoveMean(ei, nrow, ncol, (*params).krowei, (*params).kcolei); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3826:50 [INFO] [stdout] | [INFO] [stdout] 3826 | RemoveMean(ei, nrow, ncol, (*params).krowei, (*params).kcolei); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::strlen` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3827:8 [INFO] [stdout] | [INFO] [stdout] 3827 | if strlen(&raw mut (*outfiles).eifile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3827:24 [INFO] [stdout] | [INFO] [stdout] 3827 | if strlen(&raw mut (*outfiles).eifile as *mut ::core::ffi::c_char) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Write2DArray` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3828:9 [INFO] [stdout] | [INFO] [stdout] 3828 | / Write2DArray( [INFO] [stdout] 3829 | | ei as *mut *mut ::core::ffi::c_void, [INFO] [stdout] 3830 | | &raw mut (*outfiles).eifile as *mut ::core::ffi::c_char, [INFO] [stdout] 3831 | | nrow, [INFO] [stdout] 3832 | | ncol, [INFO] [stdout] 3833 | | ::core::mem::size_of::<::core::ffi::c_float>() as size_t, [INFO] [stdout] 3834 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3830:22 [INFO] [stdout] | [INFO] [stdout] 3830 | &raw mut (*outfiles).eifile as *mut ::core::ffi::c_char, [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::sin` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3837:22 [INFO] [stdout] | [INFO] [stdout] 3837 | sinnomincangle = sin(acos( [INFO] [stdout] | ______________________^ [INFO] [stdout] 3838 | | (a * a - slantrange * slantrange - re * re) [INFO] [stdout] 3839 | | / (2 as ::core::ffi::c_int as ::core::ffi::c_double * slantrange * re), [INFO] [stdout] 3840 | | )); [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::acos` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3837:26 [INFO] [stdout] | [INFO] [stdout] 3837 | sinnomincangle = sin(acos( [INFO] [stdout] | __________________________^ [INFO] [stdout] 3838 | | (a * a - slantrange * slantrange - re * re) [INFO] [stdout] 3839 | | / (2 as ::core::ffi::c_int as ::core::ffi::c_double * slantrange * re), [INFO] [stdout] 3840 | | )); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::asin` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3841:17 [INFO] [stdout] | [INFO] [stdout] 3841 | lookangle = asin(re / a * sinnomincangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3842:8 [INFO] [stdout] | [INFO] [stdout] 3842 | if (*params).bperp != 0. { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3843:12 [INFO] [stdout] | [INFO] [stdout] 3843 | if (*params).bperp > 0 as ::core::ffi::c_int as ::core::ffi::c_double { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3844:13 [INFO] [stdout] | [INFO] [stdout] 3844 | (*params).baselineangle = lookangle; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3846:13 [INFO] [stdout] | [INFO] [stdout] 3846 | (*params).baselineangle = lookangle + PI; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3848:9 [INFO] [stdout] | [INFO] [stdout] 3848 | (*params).baseline = fabs((*params).bperp); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fabs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3848:30 [INFO] [stdout] | [INFO] [stdout] 3848 | (*params).baseline = fabs((*params).bperp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3848:35 [INFO] [stdout] | [INFO] [stdout] 3848 | (*params).baseline = fabs((*params).bperp); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3850:8 [INFO] [stdout] | [INFO] [stdout] 3850 | if (*params).transmitmode as ::core::ffi::c_int == SINGLEANTTRANSMIT { [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3851:9 [INFO] [stdout] | [INFO] [stdout] 3851 | (*params).baseline /= 2.0f64; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3853:16 [INFO] [stdout] | [INFO] [stdout] 3853 | baseline = (*params).baseline; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3854:21 [INFO] [stdout] | [INFO] [stdout] 3854 | baselineangle = (*params).baselineangle; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildDZRCritLookupTable` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3855:20 [INFO] [stdout] | [INFO] [stdout] 3855 | dzrcrittable = BuildDZRCritLookupTable( [INFO] [stdout] | ____________________^ [INFO] [stdout] 3856 | | &raw mut nominc0, [INFO] [stdout] 3857 | | &raw mut dnominc, [INFO] [stdout] 3858 | | &raw mut nominctablesize, [INFO] [stdout] 3859 | | tileparams, [INFO] [stdout] 3860 | | params, [INFO] [stdout] 3861 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::BuildDZRhoMaxLookupTable` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3862:21 [INFO] [stdout] | [INFO] [stdout] 3862 | dzrhomaxtable = BuildDZRhoMaxLookupTable( [INFO] [stdout] | _____________________^ [INFO] [stdout] 3863 | | nominc0, [INFO] [stdout] 3864 | | dnominc, [INFO] [stdout] 3865 | | nominctablesize, [INFO] [stdout] ... | [INFO] [stdout] 3869 | | params, [INFO] [stdout] 3870 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::cos` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3871:24 [INFO] [stdout] | [INFO] [stdout] 3871 | bperp = baseline * cos(lookangle - baselineangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fabs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3872:23 [INFO] [stdout] | [INFO] [stdout] 3872 | midrangeambight = fabs( [INFO] [stdout] | _______________________^ [INFO] [stdout] 3873 | | lambda * slantrange * sinnomincangle [INFO] [stdout] 3874 | | / (2 as ::core::ffi::c_int as ::core::ffi::c_double * bperp), [INFO] [stdout] 3875 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3876:17 [INFO] [stdout] | [INFO] [stdout] 3876 | costscale = (*params).costscale * fabs((*params).costscaleambight / midrangeambight); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fabs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3876:39 [INFO] [stdout] | [INFO] [stdout] 3876 | costscale = (*params).costscale * fabs((*params).costscaleambight / midrangeambight); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3876:44 [INFO] [stdout] | [INFO] [stdout] 3876 | costscale = (*params).costscale * fabs((*params).costscaleambight / midrangeambight); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::log` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3877:25 [INFO] [stdout] | [INFO] [stdout] 3877 | glay = -costscale * log((*params).layconst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3877:29 [INFO] [stdout] | [INFO] [stdout] 3877 | glay = -costscale * log((*params).layconst); [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3878:12 [INFO] [stdout] | [INFO] [stdout] 3878 | dpsi = Get2DMem( [INFO] [stdout] | ____________^ [INFO] [stdout] 3879 | | nrow as ::core::ffi::c_int, [INFO] [stdout] 3880 | | ncol as ::core::ffi::c_int, [INFO] [stdout] 3881 | | ::core::mem::size_of::<*mut ::core::ffi::c_float>() as ::core::ffi::c_int, [INFO] [stdout] 3882 | | ::core::mem::size_of::<::core::ffi::c_float>() as size_t, [INFO] [stdout] 3883 | | ) as *mut *mut ::core::ffi::c_float; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::Get2DMem` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3884:15 [INFO] [stdout] | [INFO] [stdout] 3884 | avgdpsi = Get2DMem( [INFO] [stdout] | _______________^ [INFO] [stdout] 3885 | | nrow as ::core::ffi::c_int, [INFO] [stdout] 3886 | | ncol as ::core::ffi::c_int, [INFO] [stdout] 3887 | | ::core::mem::size_of::<*mut ::core::ffi::c_float>() as ::core::ffi::c_int, [INFO] [stdout] 3888 | | ::core::mem::size_of::<::core::ffi::c_float>() as size_t, [INFO] [stdout] 3889 | | ) as *mut *mut ::core::ffi::c_float; [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::fprintf` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3890:5 [INFO] [stdout] | [INFO] [stdout] 3890 | / fprintf( [INFO] [stdout] 3891 | | sp2, [INFO] [stdout] 3892 | | b"Building range cost arrays\n\0" as *const u8 as *const ::core::ffi::c_char, [INFO] [stdout] 3893 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3891:9 [INFO] [stdout] | [INFO] [stdout] 3891 | sp2, [INFO] [stdout] | ^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::CalcWrappedRangeDiffs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3894:5 [INFO] [stdout] | [INFO] [stdout] 3894 | CalcWrappedRangeDiffs(dpsi, avgdpsi, wrappedphase, kperpdpsi, kpardpsi, nrow, ncol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::acos` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3900:23 [INFO] [stdout] | [INFO] [stdout] 3900 | nomincangle = acos(cosnomincangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::sin` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3901:26 [INFO] [stdout] | [INFO] [stdout] 3901 | sinnomincangle = sin(nomincangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::asin` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3902:21 [INFO] [stdout] | [INFO] [stdout] 3902 | lookangle = asin(re / a * sinnomincangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::cos` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3904:28 [INFO] [stdout] | [INFO] [stdout] 3904 | bperp = baseline * cos(lookangle - baselineangle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3910:56 [INFO] [stdout] | [INFO] [stdout] 3910 | sigsqlay = ambiguityheight * ambiguityheight * (*params).sigsqlayfactor; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::LinInterp1D` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3912:19 [INFO] [stdout] | [INFO] [stdout] 3912 | dzrcrit = LinInterp1D(dzrcrittable, nomincind, nominctablesize) as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::SolveEIModelParams` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3913:9 [INFO] [stdout] | [INFO] [stdout] 3913 | / SolveEIModelParams( [INFO] [stdout] 3914 | | &raw mut slope1, [INFO] [stdout] 3915 | | &raw mut slope2, [INFO] [stdout] 3916 | | &raw mut const1, [INFO] [stdout] ... | [INFO] [stdout] 3922 | | params, [INFO] [stdout] 3923 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3925:23 [INFO] [stdout] | [INFO] [stdout] 3925 | dphilaypeak = (*params).dzlaypeak / ambiguityheight; [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3928:16 [INFO] [stdout] | [INFO] [stdout] 3928 | if *(*colweight.offset(row as isize)).offset(col as isize) as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3928:17 [INFO] [stdout] | [INFO] [stdout] 3928 | if *(*colweight.offset(row as isize)).offset(col as isize) as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3928:17 [INFO] [stdout] | [INFO] [stdout] 3928 | if *(*colweight.offset(row as isize)).offset(col as isize) as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3928:19 [INFO] [stdout] | [INFO] [stdout] 3928 | if *(*colweight.offset(row as isize)).offset(col as isize) as ::core::ffi::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::MaskCost` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3931:17 [INFO] [stdout] | [INFO] [stdout] 3931 | MaskCost((*colcost.offset(row as isize)).offset(col as isize) as *mut costT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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] --> src/snaphu_full.rs:3931:26 [INFO] [stdout] | [INFO] [stdout] 3931 | MaskCost((*colcost.offset(row as isize)).offset(col as isize) as *mut costT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3931:26 [INFO] [stdout] | [INFO] [stdout] 3931 | MaskCost((*colcost.offset(row as isize)).offset(col as isize) as *mut costT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3931:28 [INFO] [stdout] | [INFO] [stdout] 3931 | MaskCost((*colcost.offset(row as isize)).offset(col as isize) as *mut costT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3933:23 [INFO] [stdout] | [INFO] [stdout] 3933 | rho = *(*corr.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3933:24 [INFO] [stdout] | [INFO] [stdout] 3933 | rho = *(*corr.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3933:24 [INFO] [stdout] | [INFO] [stdout] 3933 | rho = *(*corr.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3933:26 [INFO] [stdout] | [INFO] [stdout] 3933 | rho = *(*corr.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::pow` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3938:23 [INFO] [stdout] | [INFO] [stdout] 3938 | * pow( [INFO] [stdout] | _______________________^ [INFO] [stdout] 3939 | | 1 as ::core::ffi::c_int as ::core::ffi::c_double - rho, [INFO] [stdout] 3940 | | rhopow, [INFO] [stdout] 3941 | | ); [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3942:20 [INFO] [stdout] | [INFO] [stdout] 3942 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3942:21 [INFO] [stdout] | [INFO] [stdout] 3942 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3942:21 [INFO] [stdout] | [INFO] [stdout] 3942 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3942:23 [INFO] [stdout] | [INFO] [stdout] 3942 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3946:27 [INFO] [stdout] | [INFO] [stdout] 3946 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3946:28 [INFO] [stdout] | [INFO] [stdout] 3946 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3946:28 [INFO] [stdout] | [INFO] [stdout] 3946 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3946:30 [INFO] [stdout] | [INFO] [stdout] 3946 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3952:27 [INFO] [stdout] | [INFO] [stdout] 3952 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3952:28 [INFO] [stdout] | [INFO] [stdout] 3952 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3952:28 [INFO] [stdout] | [INFO] [stdout] 3952 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3952:30 [INFO] [stdout] | [INFO] [stdout] 3952 | * *(*ei.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3961:20 [INFO] [stdout] | [INFO] [stdout] 3961 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3961:21 [INFO] [stdout] | [INFO] [stdout] 3961 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3961:21 [INFO] [stdout] | [INFO] [stdout] 3961 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3961:23 [INFO] [stdout] | [INFO] [stdout] 3961 | if *(*ei.offset(row as isize)).offset(col as isize) as ::core::ffi::c_double [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3966:28 [INFO] [stdout] | [INFO] [stdout] 3966 | if *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3966:29 [INFO] [stdout] | [INFO] [stdout] 3966 | if *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3966:29 [INFO] [stdout] | [INFO] [stdout] 3966 | if *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3966:31 [INFO] [stdout] | [INFO] [stdout] 3966 | if *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3971:35 [INFO] [stdout] | [INFO] [stdout] 3971 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3971:36 [INFO] [stdout] | [INFO] [stdout] 3971 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3971:36 [INFO] [stdout] | [INFO] [stdout] 3971 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3971:38 [INFO] [stdout] | [INFO] [stdout] 3971 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3976:35 [INFO] [stdout] | [INFO] [stdout] 3976 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3976:36 [INFO] [stdout] | [INFO] [stdout] 3976 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3976:36 [INFO] [stdout] | [INFO] [stdout] 3976 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:3976:38 [INFO] [stdout] | [INFO] [stdout] 3976 | ... * *(*ei.offset(row as isize)).offset((col + iei) as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::LinInterp2D` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:3990:32 [INFO] [stdout] | [INFO] [stdout] 3990 | dzrhomax = LinInterp2D( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 3991 | | dzrhomaxtable, [INFO] [stdout] 3992 | | nomincind, [INFO] [stdout] 3993 | | (rho - rhomin) / drho, [INFO] [stdout] 3994 | | nominctablesize, [INFO] [stdout] 3995 | | nrho, [INFO] [stdout] 3996 | | ) as ::core::ffi::c_double; [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4004:25 [INFO] [stdout] | [INFO] [stdout] 4004 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4004:27 [INFO] [stdout] | [INFO] [stdout] 4004 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4004:27 [INFO] [stdout] | [INFO] [stdout] 4004 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4004:29 [INFO] [stdout] | [INFO] [stdout] 4004 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4006:36 [INFO] [stdout] | [INFO] [stdout] 4006 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4006:37 [INFO] [stdout] | [INFO] [stdout] 4006 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4006:37 [INFO] [stdout] | [INFO] [stdout] 4006 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4006:39 [INFO] [stdout] | [INFO] [stdout] 4006 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4009:44 [INFO] [stdout] | [INFO] [stdout] 4009 | ... * (*(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4009:45 [INFO] [stdout] | [INFO] [stdout] 4009 | ... * (*(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4009:45 [INFO] [stdout] | [INFO] [stdout] 4009 | ... * (*(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4009:47 [INFO] [stdout] | [INFO] [stdout] 4009 | ... * (*(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4014:25 [INFO] [stdout] | [INFO] [stdout] 4014 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4014:27 [INFO] [stdout] | [INFO] [stdout] 4014 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4014:27 [INFO] [stdout] | [INFO] [stdout] 4014 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4014:29 [INFO] [stdout] | [INFO] [stdout] 4014 | (*(*colcost.offset(row as isize)).offset(col as isize)).offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4016:36 [INFO] [stdout] | [INFO] [stdout] 4016 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4016:37 [INFO] [stdout] | [INFO] [stdout] 4016 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4016:37 [INFO] [stdout] | [INFO] [stdout] 4016 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4016:39 [INFO] [stdout] | [INFO] [stdout] 4016 | ... * (*(*dpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4019:43 [INFO] [stdout] | [INFO] [stdout] 4019 | ... * *(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4019:44 [INFO] [stdout] | [INFO] [stdout] 4019 | ... * *(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4019:44 [INFO] [stdout] | [INFO] [stdout] 4019 | ... * *(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4019:46 [INFO] [stdout] | [INFO] [stdout] 4019 | ... * *(*avgdpsi.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4024:21 [INFO] [stdout] | [INFO] [stdout] 4024 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4024:23 [INFO] [stdout] | [INFO] [stdout] 4024 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4024:23 [INFO] [stdout] | [INFO] [stdout] 4024 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4024:25 [INFO] [stdout] | [INFO] [stdout] 4024 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4027:35 [INFO] [stdout] | [INFO] [stdout] 4027 | ... * *(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4027:36 [INFO] [stdout] | [INFO] [stdout] 4027 | ... * *(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4027:36 [INFO] [stdout] | [INFO] [stdout] 4027 | ... * *(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4027:38 [INFO] [stdout] | [INFO] [stdout] 4027 | ... * *(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4031:25 [INFO] [stdout] | [INFO] [stdout] 4031 | if ((*(*colcost.offset(row as isize)).offset(col as isize)).sigsq [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4031:27 [INFO] [stdout] | [INFO] [stdout] 4031 | if ((*(*colcost.offset(row as isize)).offset(col as isize)).sigsq [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4031:27 [INFO] [stdout] | [INFO] [stdout] 4031 | if ((*(*colcost.offset(row as isize)).offset(col as isize)).sigsq [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4031:29 [INFO] [stdout] | [INFO] [stdout] 4031 | if ((*(*colcost.offset(row as isize)).offset(col as isize)).sigsq [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4035:25 [INFO] [stdout] | [INFO] [stdout] 4035 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4035:27 [INFO] [stdout] | [INFO] [stdout] 4035 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4035:27 [INFO] [stdout] | [INFO] [stdout] 4035 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4035:29 [INFO] [stdout] | [INFO] [stdout] 4035 | (*(*colcost.offset(row as isize)).offset(col as isize)).sigsq = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4038:21 [INFO] [stdout] | [INFO] [stdout] 4038 | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4038:23 [INFO] [stdout] | [INFO] [stdout] 4038 | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4038:23 [INFO] [stdout] | [INFO] [stdout] 4038 | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4038:25 [INFO] [stdout] | [INFO] [stdout] 4038 | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4040:21 [INFO] [stdout] | [INFO] [stdout] 4040 | (*(*colcost.offset(row as isize)).offset(col as isize)).laycost = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4040:23 [INFO] [stdout] | [INFO] [stdout] 4040 | (*(*colcost.offset(row as isize)).offset(col as isize)).laycost = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4040:23 [INFO] [stdout] | [INFO] [stdout] 4040 | (*(*colcost.offset(row as isize)).offset(col as isize)).laycost = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4040:25 [INFO] [stdout] | [INFO] [stdout] 4040 | (*(*colcost.offset(row as isize)).offset(col as isize)).laycost = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4041:26 [INFO] [stdout] | [INFO] [stdout] 4041 | (*(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4041:27 [INFO] [stdout] | [INFO] [stdout] 4041 | (*(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4041:27 [INFO] [stdout] | [INFO] [stdout] 4041 | (*(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [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] --> src/snaphu_full.rs:4041:29 [INFO] [stdout] | [INFO] [stdout] 4041 | (*(*colweight.offset(row as isize)).offset(col as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `snaphu_full::labs` is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4044:24 [INFO] [stdout] | [INFO] [stdout] 4044 | if labs( [INFO] [stdout] | ________________________^ [INFO] [stdout] 4045 | | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax [INFO] [stdout] 4046 | | as ::core::ffi::c_long, [INFO] [stdout] 4047 | | ) as ::core::ffi::c_double [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/snaphu_full.rs:4045:25 [INFO] [stdout] | [INFO] [stdout] 4045 | (*(*colcost.offset(row as isize)).offset(col as isize)).dzmax [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it