[INFO] fetching crate ndless 0.8.8... [INFO] building ndless-0.8.8 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ndless 0.8.8 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ndless 0.8.8 [INFO] finished tweaking crates.io crate ndless 0.8.8 [INFO] tweaked toml for crates.io crate ndless 0.8.8 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ndless 0.8.8 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded ndless-macros v0.4.0 [INFO] [stderr] Downloaded cstr_core v0.1.2 [INFO] [stderr] Downloaded cty v0.1.5 [INFO] [stderr] Downloaded ndless-sys v0.2.0 [INFO] [stderr] Downloaded embedded-ffi v0.1.2 [INFO] [stderr] Downloaded ndless-static-vars v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4da5de5adeb24130f0c346cd2920a2894d2ac9bf7dfbefd3c30ee50212938448 [INFO] running `Command { std: "docker" "start" "-a" "4da5de5adeb24130f0c346cd2920a2894d2ac9bf7dfbefd3c30ee50212938448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4da5de5adeb24130f0c346cd2920a2894d2ac9bf7dfbefd3c30ee50212938448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da5de5adeb24130f0c346cd2920a2894d2ac9bf7dfbefd3c30ee50212938448", kill_on_drop: false }` [INFO] [stdout] 4da5de5adeb24130f0c346cd2920a2894d2ac9bf7dfbefd3c30ee50212938448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8556bfa612ad3f0f609c9cbf1ad4a4b03638b799d5bb401385d42bc6030bc0f4 [INFO] running `Command { std: "docker" "start" "-a" "8556bfa612ad3f0f609c9cbf1ad4a4b03638b799d5bb401385d42bc6030bc0f4", kill_on_drop: false }` [INFO] [stderr] Compiling cty v0.1.5 [INFO] [stderr] Compiling ndless-static-vars v2.1.0 [INFO] [stderr] Compiling ndless-sys v0.2.0 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cstr_core v0.1.2 [INFO] [stderr] Compiling embedded-ffi v0.1.2 [INFO] [stderr] Compiling ndless-macros v0.4.0 [INFO] [stderr] Compiling ndless v0.8.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileTypeExt` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, and `RawFd` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open` [INFO] [stdout] --> src/libc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stat as lstat` [INFO] [stdout] --> src/libc.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub use core::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub use embedded_ffi::*; [INFO] [stdout] | --------------- but the name `CStr` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub use alloc::{boxed::*, string::*, vec::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `Drain` in the type namespace is also re-exported here [INFO] [stdout] | the name `Drain` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:714:2 [INFO] [stdout] | [INFO] [stdout] 714 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:898:2 [INFO] [stdout] | [INFO] [stdout] 898 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:683:3 [INFO] [stdout] | [INFO] [stdout] 683 | unsafe { intrinsics::floorf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:687:3 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { intrinsics::ceilf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { intrinsics::roundf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:695:3 [INFO] [stdout] | [INFO] [stdout] 695 | unsafe { intrinsics::truncf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 703 | unsafe { intrinsics::fabsf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:710:4 [INFO] [stdout] | [INFO] [stdout] 710 | unsafe { intrinsics::copysignf64(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:716:3 [INFO] [stdout] | [INFO] [stdout] 716 | unsafe { intrinsics::copysignf64(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:720:3 [INFO] [stdout] | [INFO] [stdout] 720 | unsafe { intrinsics::fmaf64(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:741:3 [INFO] [stdout] | [INFO] [stdout] 741 | unsafe { intrinsics::powif64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:745:3 [INFO] [stdout] | [INFO] [stdout] 745 | unsafe { intrinsics::powf64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:752:4 [INFO] [stdout] | [INFO] [stdout] 752 | unsafe { intrinsics::sqrtf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | unsafe { intrinsics::expf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:761:3 [INFO] [stdout] | [INFO] [stdout] 761 | unsafe { intrinsics::exp2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:765:3 [INFO] [stdout] | [INFO] [stdout] 765 | unsafe { intrinsics::logf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:773:3 [INFO] [stdout] | [INFO] [stdout] 773 | unsafe { intrinsics::log2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:777:3 [INFO] [stdout] | [INFO] [stdout] 777 | unsafe { intrinsics::log10f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:793:3 [INFO] [stdout] | [INFO] [stdout] 793 | unsafe { intrinsics::sinf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:797:3 [INFO] [stdout] | [INFO] [stdout] 797 | unsafe { intrinsics::cosf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:867:3 [INFO] [stdout] | [INFO] [stdout] 867 | unsafe { intrinsics::floorf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:871:3 [INFO] [stdout] | [INFO] [stdout] 871 | unsafe { intrinsics::ceilf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | unsafe { intrinsics::roundf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:879:3 [INFO] [stdout] | [INFO] [stdout] 879 | unsafe { intrinsics::truncf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | unsafe { intrinsics::fabsf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:894:4 [INFO] [stdout] | [INFO] [stdout] 894 | unsafe { intrinsics::copysignf32(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:900:3 [INFO] [stdout] | [INFO] [stdout] 900 | unsafe { intrinsics::copysignf32(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:904:3 [INFO] [stdout] | [INFO] [stdout] 904 | unsafe { intrinsics::fmaf32(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:925:3 [INFO] [stdout] | [INFO] [stdout] 925 | unsafe { intrinsics::powif32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:929:3 [INFO] [stdout] | [INFO] [stdout] 929 | unsafe { intrinsics::powf32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:936:4 [INFO] [stdout] | [INFO] [stdout] 936 | unsafe { intrinsics::sqrtf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:941:3 [INFO] [stdout] | [INFO] [stdout] 941 | unsafe { intrinsics::expf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:945:3 [INFO] [stdout] | [INFO] [stdout] 945 | unsafe { intrinsics::exp2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:949:3 [INFO] [stdout] | [INFO] [stdout] 949 | unsafe { intrinsics::logf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:957:3 [INFO] [stdout] | [INFO] [stdout] 957 | unsafe { intrinsics::log2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:961:3 [INFO] [stdout] | [INFO] [stdout] 961 | unsafe { intrinsics::log10f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:977:3 [INFO] [stdout] | [INFO] [stdout] 977 | unsafe { intrinsics::sinf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:981:3 [INFO] [stdout] | [INFO] [stdout] 981 | unsafe { intrinsics::cosf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_mode` and `from_mode` are never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PermissionsExt { [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_mode(&mut self, mode: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn from_mode(mode: u32) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait OpenOptionsExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 136 | fn custom_flags(&mut self, flags: i32) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FileTypeExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | pub trait FileTypeExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DirBuilderExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:552:11 [INFO] [stdout] | [INFO] [stdout] 552 | pub trait DirBuilderExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type RawFd = libc::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AsRawFd { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait FromRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait IntoRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_flags` is never read [INFO] [stdout] --> src/file_io/sys/fs.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OpenOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | custom_flags: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl OpenOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn custom_flags(&mut self, flags: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fd` and `into_fd` are never used [INFO] [stdout] --> src/file_io/sys/fs.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 293 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn fd(&self) -> &FileDesc { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn into_fd(self) -> FileDesc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_mode` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 386 | impl DirBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn set_mode(&mut self, mode: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/platform.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoInner` is never used [INFO] [stdout] --> src/file_io/sys_common.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFIFO` is never used [INFO] [stdout] --> src/libc.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const S_IFIFO: mode_t = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFCHR` is never used [INFO] [stdout] --> src/libc.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const S_IFCHR: mode_t = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFBLK` is never used [INFO] [stdout] --> src/libc.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const S_IFBLK: mode_t = 24576; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFSOCK` is never used [INFO] [stdout] --> src/libc.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const S_IFSOCK: mode_t = 49152; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.49s [INFO] running `Command { std: "docker" "inspect" "8556bfa612ad3f0f609c9cbf1ad4a4b03638b799d5bb401385d42bc6030bc0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8556bfa612ad3f0f609c9cbf1ad4a4b03638b799d5bb401385d42bc6030bc0f4", kill_on_drop: false }` [INFO] [stdout] 8556bfa612ad3f0f609c9cbf1ad4a4b03638b799d5bb401385d42bc6030bc0f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c56bf39eb8ddae8a62af78f9399ffa3c8b56a4ff8b9575f02ac3badd8bac2992 [INFO] running `Command { std: "docker" "start" "-a" "c56bf39eb8ddae8a62af78f9399ffa3c8b56a4ff8b9575f02ac3badd8bac2992", kill_on_drop: false }` [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileTypeExt` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, and `RawFd` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open` [INFO] [stdout] --> src/libc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stat as lstat` [INFO] [stdout] --> src/libc.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub use core::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub use embedded_ffi::*; [INFO] [stdout] | --------------- but the name `CStr` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub use alloc::{boxed::*, string::*, vec::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `Drain` in the type namespace is also re-exported here [INFO] [stdout] | the name `Drain` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:714:2 [INFO] [stdout] | [INFO] [stdout] 714 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:898:2 [INFO] [stdout] | [INFO] [stdout] 898 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:683:3 [INFO] [stdout] | [INFO] [stdout] 683 | unsafe { intrinsics::floorf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:687:3 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { intrinsics::ceilf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { intrinsics::roundf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:695:3 [INFO] [stdout] | [INFO] [stdout] 695 | unsafe { intrinsics::truncf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 703 | unsafe { intrinsics::fabsf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:710:4 [INFO] [stdout] | [INFO] [stdout] 710 | unsafe { intrinsics::copysignf64(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ndless v0.8.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:716:3 [INFO] [stdout] | [INFO] [stdout] 716 | unsafe { intrinsics::copysignf64(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:720:3 [INFO] [stdout] | [INFO] [stdout] 720 | unsafe { intrinsics::fmaf64(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:741:3 [INFO] [stdout] | [INFO] [stdout] 741 | unsafe { intrinsics::powif64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:745:3 [INFO] [stdout] | [INFO] [stdout] 745 | unsafe { intrinsics::powf64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:752:4 [INFO] [stdout] | [INFO] [stdout] 752 | unsafe { intrinsics::sqrtf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | unsafe { intrinsics::expf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:761:3 [INFO] [stdout] | [INFO] [stdout] 761 | unsafe { intrinsics::exp2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:765:3 [INFO] [stdout] | [INFO] [stdout] 765 | unsafe { intrinsics::logf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:773:3 [INFO] [stdout] | [INFO] [stdout] 773 | unsafe { intrinsics::log2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:777:3 [INFO] [stdout] | [INFO] [stdout] 777 | unsafe { intrinsics::log10f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:793:3 [INFO] [stdout] | [INFO] [stdout] 793 | unsafe { intrinsics::sinf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:797:3 [INFO] [stdout] | [INFO] [stdout] 797 | unsafe { intrinsics::cosf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:867:3 [INFO] [stdout] | [INFO] [stdout] 867 | unsafe { intrinsics::floorf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:871:3 [INFO] [stdout] | [INFO] [stdout] 871 | unsafe { intrinsics::ceilf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | unsafe { intrinsics::roundf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:879:3 [INFO] [stdout] | [INFO] [stdout] 879 | unsafe { intrinsics::truncf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | unsafe { intrinsics::fabsf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:894:4 [INFO] [stdout] | [INFO] [stdout] 894 | unsafe { intrinsics::copysignf32(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:900:3 [INFO] [stdout] | [INFO] [stdout] 900 | unsafe { intrinsics::copysignf32(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:904:3 [INFO] [stdout] | [INFO] [stdout] 904 | unsafe { intrinsics::fmaf32(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:925:3 [INFO] [stdout] | [INFO] [stdout] 925 | unsafe { intrinsics::powif32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:929:3 [INFO] [stdout] | [INFO] [stdout] 929 | unsafe { intrinsics::powf32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:936:4 [INFO] [stdout] | [INFO] [stdout] 936 | unsafe { intrinsics::sqrtf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:941:3 [INFO] [stdout] | [INFO] [stdout] 941 | unsafe { intrinsics::expf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:945:3 [INFO] [stdout] | [INFO] [stdout] 945 | unsafe { intrinsics::exp2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:949:3 [INFO] [stdout] | [INFO] [stdout] 949 | unsafe { intrinsics::logf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:957:3 [INFO] [stdout] | [INFO] [stdout] 957 | unsafe { intrinsics::log2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:961:3 [INFO] [stdout] | [INFO] [stdout] 961 | unsafe { intrinsics::log10f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:977:3 [INFO] [stdout] | [INFO] [stdout] 977 | unsafe { intrinsics::sinf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:981:3 [INFO] [stdout] | [INFO] [stdout] 981 | unsafe { intrinsics::cosf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_mode` and `from_mode` are never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PermissionsExt { [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_mode(&mut self, mode: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn from_mode(mode: u32) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait OpenOptionsExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 136 | fn custom_flags(&mut self, flags: i32) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FileTypeExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | pub trait FileTypeExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DirBuilderExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:552:11 [INFO] [stdout] | [INFO] [stdout] 552 | pub trait DirBuilderExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type RawFd = libc::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AsRawFd { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait FromRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait IntoRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_flags` is never read [INFO] [stdout] --> src/file_io/sys/fs.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OpenOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | custom_flags: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl OpenOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn custom_flags(&mut self, flags: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fd` and `into_fd` are never used [INFO] [stdout] --> src/file_io/sys/fs.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 293 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn fd(&self) -> &FileDesc { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn into_fd(self) -> FileDesc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_mode` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 386 | impl DirBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn set_mode(&mut self, mode: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/platform.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoInner` is never used [INFO] [stdout] --> src/file_io/sys_common.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFIFO` is never used [INFO] [stdout] --> src/libc.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const S_IFIFO: mode_t = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFCHR` is never used [INFO] [stdout] --> src/libc.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const S_IFCHR: mode_t = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFBLK` is never used [INFO] [stdout] --> src/libc.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const S_IFBLK: mode_t = 24576; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFSOCK` is never used [INFO] [stdout] --> src/libc.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const S_IFSOCK: mode_t = 49152; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileTypeExt` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub use super::fs::{FileTypeExt, MetadataExt, OpenOptionsExt, PermissionsExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsRawFd`, `FromRawFd`, `IntoRawFd`, and `RawFd` [INFO] [stdout] --> src/file_io/sys/ext/mod.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndless_sys::NU_Open as open` [INFO] [stdout] --> src/libc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ndless_sys::NU_Open as open; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stat as lstat` [INFO] [stdout] --> src/libc.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | nuc_closedir as closedir, nuc_opendir as opendir, stat as lstat, NU_Set_Current_Dir as chdir, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub use core::ffi::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `CStr` in the type namespace is first re-exported here [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub use embedded_ffi::*; [INFO] [stdout] | --------------- but the name `CStr` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub use alloc::{boxed::*, string::*, vec::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | but the name `Drain` in the type namespace is also re-exported here [INFO] [stdout] | the name `Drain` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:714:2 [INFO] [stdout] | [INFO] [stdout] 714 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/bindings/math.rs:898:2 [INFO] [stdout] | [INFO] [stdout] 898 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:683:3 [INFO] [stdout] | [INFO] [stdout] 683 | unsafe { intrinsics::floorf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:687:3 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { intrinsics::ceilf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { intrinsics::roundf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:695:3 [INFO] [stdout] | [INFO] [stdout] 695 | unsafe { intrinsics::truncf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 703 | unsafe { intrinsics::fabsf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:710:4 [INFO] [stdout] | [INFO] [stdout] 710 | unsafe { intrinsics::copysignf64(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:716:3 [INFO] [stdout] | [INFO] [stdout] 716 | unsafe { intrinsics::copysignf64(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:720:3 [INFO] [stdout] | [INFO] [stdout] 720 | unsafe { intrinsics::fmaf64(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:741:3 [INFO] [stdout] | [INFO] [stdout] 741 | unsafe { intrinsics::powif64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:745:3 [INFO] [stdout] | [INFO] [stdout] 745 | unsafe { intrinsics::powf64(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:752:4 [INFO] [stdout] | [INFO] [stdout] 752 | unsafe { intrinsics::sqrtf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:757:3 [INFO] [stdout] | [INFO] [stdout] 757 | unsafe { intrinsics::expf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:761:3 [INFO] [stdout] | [INFO] [stdout] 761 | unsafe { intrinsics::exp2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:765:3 [INFO] [stdout] | [INFO] [stdout] 765 | unsafe { intrinsics::logf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:773:3 [INFO] [stdout] | [INFO] [stdout] 773 | unsafe { intrinsics::log2f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:777:3 [INFO] [stdout] | [INFO] [stdout] 777 | unsafe { intrinsics::log10f64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:793:3 [INFO] [stdout] | [INFO] [stdout] 793 | unsafe { intrinsics::sinf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:797:3 [INFO] [stdout] | [INFO] [stdout] 797 | unsafe { intrinsics::cosf64(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:867:3 [INFO] [stdout] | [INFO] [stdout] 867 | unsafe { intrinsics::floorf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:871:3 [INFO] [stdout] | [INFO] [stdout] 871 | unsafe { intrinsics::ceilf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:875:3 [INFO] [stdout] | [INFO] [stdout] 875 | unsafe { intrinsics::roundf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:879:3 [INFO] [stdout] | [INFO] [stdout] 879 | unsafe { intrinsics::truncf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:887:3 [INFO] [stdout] | [INFO] [stdout] 887 | unsafe { intrinsics::fabsf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:894:4 [INFO] [stdout] | [INFO] [stdout] 894 | unsafe { intrinsics::copysignf32(1.0, self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:900:3 [INFO] [stdout] | [INFO] [stdout] 900 | unsafe { intrinsics::copysignf32(self, y) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:904:3 [INFO] [stdout] | [INFO] [stdout] 904 | unsafe { intrinsics::fmaf32(self, a, b) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:925:3 [INFO] [stdout] | [INFO] [stdout] 925 | unsafe { intrinsics::powif32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:929:3 [INFO] [stdout] | [INFO] [stdout] 929 | unsafe { intrinsics::powf32(self, n) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:936:4 [INFO] [stdout] | [INFO] [stdout] 936 | unsafe { intrinsics::sqrtf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:941:3 [INFO] [stdout] | [INFO] [stdout] 941 | unsafe { intrinsics::expf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:945:3 [INFO] [stdout] | [INFO] [stdout] 945 | unsafe { intrinsics::exp2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:949:3 [INFO] [stdout] | [INFO] [stdout] 949 | unsafe { intrinsics::logf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:957:3 [INFO] [stdout] | [INFO] [stdout] 957 | unsafe { intrinsics::log2f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:961:3 [INFO] [stdout] | [INFO] [stdout] 961 | unsafe { intrinsics::log10f32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:977:3 [INFO] [stdout] | [INFO] [stdout] 977 | unsafe { intrinsics::sinf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bindings/math.rs:981:3 [INFO] [stdout] | [INFO] [stdout] 981 | unsafe { intrinsics::cosf32(self) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_mode` and `from_mode` are never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PermissionsExt { [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_mode(&mut self, mode: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn from_mode(mode: u32) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait OpenOptionsExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 136 | fn custom_flags(&mut self, flags: i32) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FileTypeExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | pub trait FileTypeExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DirBuilderExt` is never used [INFO] [stdout] --> src/file_io/sys/ext/fs.rs:552:11 [INFO] [stdout] | [INFO] [stdout] 552 | pub trait DirBuilderExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type RawFd = libc::c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait AsRawFd { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait FromRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoRawFd` is never used [INFO] [stdout] --> src/file_io/sys/ext/io.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait IntoRawFd { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_flags` is never read [INFO] [stdout] --> src/file_io/sys/fs.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OpenOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | custom_flags: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `custom_flags` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 239 | impl OpenOptions { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn custom_flags(&mut self, flags: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fd` and `into_fd` are never used [INFO] [stdout] --> src/file_io/sys/fs.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 293 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn fd(&self) -> &FileDesc { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn into_fd(self) -> FileDesc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_mode` is never used [INFO] [stdout] --> src/file_io/sys/fs.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 386 | impl DirBuilder { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn set_mode(&mut self, mode: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MetadataExt` is never used [INFO] [stdout] --> src/file_io/sys/platform.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait MetadataExt { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoInner` is never used [INFO] [stdout] --> src/file_io/sys_common.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFIFO` is never used [INFO] [stdout] --> src/libc.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const S_IFIFO: mode_t = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFCHR` is never used [INFO] [stdout] --> src/libc.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const S_IFCHR: mode_t = 8192; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFBLK` is never used [INFO] [stdout] --> src/libc.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const S_IFBLK: mode_t = 24576; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S_IFSOCK` is never used [INFO] [stdout] --> src/libc.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const S_IFSOCK: mode_t = 49152; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "c56bf39eb8ddae8a62af78f9399ffa3c8b56a4ff8b9575f02ac3badd8bac2992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56bf39eb8ddae8a62af78f9399ffa3c8b56a4ff8b9575f02ac3badd8bac2992", kill_on_drop: false }` [INFO] [stdout] c56bf39eb8ddae8a62af78f9399ffa3c8b56a4ff8b9575f02ac3badd8bac2992