[INFO] fetching crate x-map 0.1.2... [INFO] testing x-map-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate x-map 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate x-map 0.1.2 [INFO] finished tweaking crates.io crate x-map 0.1.2 [INFO] tweaked toml for crates.io crate x-map 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-map 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate x-map 0.1.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c907d905290e70bffa240c1ff2f15e4aed79124ffe7548b53844ed944237d3 [INFO] running `Command { std: "docker" "start" "-a" "e5c907d905290e70bffa240c1ff2f15e4aed79124ffe7548b53844ed944237d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c907d905290e70bffa240c1ff2f15e4aed79124ffe7548b53844ed944237d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c907d905290e70bffa240c1ff2f15e4aed79124ffe7548b53844ed944237d3", kill_on_drop: false }` [INFO] [stdout] e5c907d905290e70bffa240c1ff2f15e4aed79124ffe7548b53844ed944237d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e34ab1761a36a9872e7e67fbe91b6195c09f91d4aa3270ce7d4d34b23418a25d [INFO] running `Command { std: "docker" "start" "-a" "e34ab1761a36a9872e7e67fbe91b6195c09f91d4aa3270ce7d4d34b23418a25d", kill_on_drop: false }` [INFO] [stderr] Compiling x-map v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maps.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (self.pos as usize - index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - (self.pos as usize - index), [INFO] [stdout] 154 + self.pos as usize - index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/error.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let key_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let val_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(in crate) unsafe fn mem_cmp(left: *const u8, right: *const u8, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CIndexMapError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | kind: MapErrorKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_capacity_of` is never used [INFO] [stdout] --> src/util.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(in crate) fn new_capacity_of(size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "e34ab1761a36a9872e7e67fbe91b6195c09f91d4aa3270ce7d4d34b23418a25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34ab1761a36a9872e7e67fbe91b6195c09f91d4aa3270ce7d4d34b23418a25d", kill_on_drop: false }` [INFO] [stdout] e34ab1761a36a9872e7e67fbe91b6195c09f91d4aa3270ce7d4d34b23418a25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd08758ff219febc4b5d7bdfe9eefe8835a1b37c807c954129b11b878d38628a [INFO] running `Command { std: "docker" "start" "-a" "dd08758ff219febc4b5d7bdfe9eefe8835a1b37c807c954129b11b878d38628a", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maps.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (self.pos as usize - index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - (self.pos as usize - index), [INFO] [stdout] 154 + self.pos as usize - index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/error.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let key_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let val_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(in crate) unsafe fn mem_cmp(left: *const u8, right: *const u8, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CIndexMapError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | kind: MapErrorKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_capacity_of` is never used [INFO] [stdout] --> src/util.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(in crate) fn new_capacity_of(size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling x-map v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs" [INFO] [stdout] = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/maps.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (self.pos as usize - index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - (self.pos as usize - index), [INFO] [stdout] 154 + self.pos as usize - index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/error.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let key_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/maps.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let val_layout = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub(in crate) unsafe fn mem_cmp(left: *const u8, right: *const u8, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/util.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | if ptr::read(left.add(i)) != ptr::read(right.add(i)) { [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x-map` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dd08758ff219febc4b5d7bdfe9eefe8835a1b37c807c954129b11b878d38628a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd08758ff219febc4b5d7bdfe9eefe8835a1b37c807c954129b11b878d38628a", kill_on_drop: false }` [INFO] [stdout] dd08758ff219febc4b5d7bdfe9eefe8835a1b37c807c954129b11b878d38628a