[INFO] fetching crate cogo 0.1.36... [INFO] checking cogo-0.1.36 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate cogo 0.1.36 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cogo 0.1.36 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cogo 0.1.36 [INFO] finished tweaking crates.io crate cogo 0.1.36 [INFO] tweaked toml for crates.io crate cogo 0.1.36 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.2.1 (latest: v2.6.0) [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.3) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding nix v0.21.2 (latest: v0.29.0) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2899c8957d2b11c716564eb664d06079c99b43b0f27c39cfe85381f86079eb6 [INFO] running `Command { std: "docker" "start" "-a" "f2899c8957d2b11c716564eb664d06079c99b43b0f27c39cfe85381f86079eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2899c8957d2b11c716564eb664d06079c99b43b0f27c39cfe85381f86079eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2899c8957d2b11c716564eb664d06079c99b43b0f27c39cfe85381f86079eb6", kill_on_drop: false }` [INFO] [stdout] f2899c8957d2b11c716564eb664d06079c99b43b0f27c39cfe85381f86079eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81d347198160f3bb3638ad2740a5558023c8ed377506bc68e350fee620de3d45 [INFO] running `Command { std: "docker" "start" "-a" "81d347198160f3bb3638ad2740a5558023c8ed377506bc68e350fee620de3d45", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling cogo v0.1.36 (/opt/rustwide/workdir) [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | #![cfg_attr(nightly, feature(thread_local))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | #![cfg_attr(nightly, feature(core_intrinsics))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(nightly, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | #![cfg_attr(nightly, 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 imports: `AtomicBool` and `AtomicU64` [INFO] [stdout] --> src/config.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/io/sys/unix/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/io/sys/unix/cancel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/io/event_loop.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/io/event_loop.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/std/queue/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(nightly, test), feature(test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/std/lazy/mod.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/std/queue/array_queue.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::mem::{self, MaybeUninit}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/sync/atomic_option.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/sync/atomic_option.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/std/sync/atomic_option.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generator::Generator` [INFO] [stdout] --> src/std/sync/atomic_option.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use generator::Generator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/std/sync/atomic_option.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match unsafe { (&(*self.inner.borrow().as_ptr())) } { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - match unsafe { (&(*self.inner.borrow().as_ptr())) } { [INFO] [stdout] 78 + match unsafe { &(*self.inner.borrow().as_ptr()) } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::defer` [INFO] [stdout] --> src/std/sync/once.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::defer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::sync::Mutex` [INFO] [stdout] --> src/std/sync/once.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/std/sync/channel.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/std/io/stream_chan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::errors::Error` [INFO] [stdout] --> src/std/io/stream_chan.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::std::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStream` [INFO] [stdout] --> src/std/io/stream_chan.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::io::{Stream, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/time/tick.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/std/time/tick.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/std/time/tick.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::std::sync::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/std/time/time.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> src/std/time/time.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Deref, DerefMut, Sub}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/std/time/time.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::error::InvalidFormatDescription` [INFO] [stdout] --> src/std/time/time.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use time::error::InvalidFormatDescription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::format_description::FormatItem` [INFO] [stdout] --> src/std/time/time.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use time::format_description::FormatItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/std/time/sys/unix.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(any(target_os = "nacl", target_os = "solaris", target_os = "illumos"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/std/time/sys/unix.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/std/map/hash_map.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/map/hash_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/map/hash_map.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/map/hash_map.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/std/map/hash_map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/std/map/hash_map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `hash_map::IntoIter as IntoIter` [INFO] [stdout] --> src/std/map/hash_map.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{HashMap as Map, hash_map::IntoIter as IntoIter, hash_map::Iter as MapIter, hash_map::IterMut as MapIterMut, HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/std/map/btree_map.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/map/btree_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/map/btree_map.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/map/btree_map.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/std/map/btree_map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/std/map/btree_map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `btree_map::IntoIter as IntoIter` and `btree_map::IterMut as MapIterMut` [INFO] [stdout] --> src/std/map/btree_map.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{BTreeMap as Map, btree_map::IntoIter as IntoIter, btree_map::Iter as MapIter, btree_map::IterMut as MapIterMut, Ha... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `SyncMapImpl` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `SyncMapImpl` 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/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `change_lifetime_const` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `change_lifetime_const` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `change_lifetime_mut` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `change_lifetime_mut` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `SyncMapRefMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `SyncMapRefMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `IterMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `IterMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/std/lazy/mod.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `race` [INFO] [stdout] --> src/std/lazy/mod.rs:1201:7 [INFO] [stdout] | [INFO] [stdout] 1201 | #[cfg(feature = "race")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `race` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/std/lazy/imp_std.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | cell::{Cell, UnsafeCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coroutine::Coroutine` [INFO] [stdout] --> src/std/lazy/imp_std.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::coroutine::Coroutine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/std/context/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::UnsafeCell` [INFO] [stdout] --> src/std/context/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::UnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/std/context/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/std/context/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/std/context/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/std/context/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::std::errors::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/std/context/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::std::sync::{AtomicOption, Mutex, Receiver, Sender}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/std/blocking/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::errors::Error` [INFO] [stdout] --> src/std/blocking/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | #![cfg_attr(nightly, feature(thread_local))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | #![cfg_attr(nightly, feature(core_intrinsics))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(nightly, feature(min_specialization))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | #![cfg_attr(nightly, 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 imports: `AtomicBool` and `AtomicU64` [INFO] [stdout] --> src/config.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicBool, AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/scheduler.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/io/sys/unix/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/lazy/mod.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/io/sys/unix/cancel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/io/event_loop.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(nightly)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/io/event_loop.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(nightly))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/std/queue/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(nightly, test), feature(test))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/std/lazy/mod.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/std/queue/array_queue.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use core::mem::{self, MaybeUninit}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/sync/atomic_option.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/sync/atomic_option.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/std/sync/atomic_option.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generator::Generator` [INFO] [stdout] --> src/std/sync/atomic_option.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use generator::Generator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/std/sync/atomic_option.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match unsafe { (&(*self.inner.borrow().as_ptr())) } { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - match unsafe { (&(*self.inner.borrow().as_ptr())) } { [INFO] [stdout] 78 + match unsafe { &(*self.inner.borrow().as_ptr()) } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::defer` [INFO] [stdout] --> src/std/sync/once.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::defer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::sync::Mutex` [INFO] [stdout] --> src/std/sync/once.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defer` [INFO] [stdout] --> src/std/sync/once.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::{chan, defer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/std/sync/channel.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/std/io/stream_chan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::errors::Error` [INFO] [stdout] --> src/std/io/stream_chan.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::std::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStream` [INFO] [stdout] --> src/std/io/stream_chan.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::io::{Stream, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStream` [INFO] [stdout] --> src/std/io/stream_chan.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::std::io::{ChanStream, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::ControlFlow` [INFO] [stdout] --> src/std/io/stream_chan.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use std::ops::ControlFlow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/time/tick.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvError` [INFO] [stdout] --> src/std/time/tick.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::RecvError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/std/time/tick.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::std::sync::channel::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/std/time/time.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> src/std/time/time.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Deref, DerefMut, Sub}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/std/time/time.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::error::InvalidFormatDescription` [INFO] [stdout] --> src/std/time/time.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use time::error::InvalidFormatDescription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::format_description::FormatItem` [INFO] [stdout] --> src/std/time/time.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use time::format_description::FormatItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/std/time/sys/unix.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(any(target_os = "nacl", target_os = "solaris", target_os = "illumos"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/std/time/sys/unix.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/std/map/hash_map.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/map/hash_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/map/hash_map.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/map/hash_map.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/std/map/hash_map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/std/map/hash_map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `hash_map::IntoIter as IntoIter` [INFO] [stdout] --> src/std/map/hash_map.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{HashMap as Map, hash_map::IntoIter as IntoIter, hash_map::Iter as MapIter, hash_map::IterMut as MapIterMut, HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/std/map/hash_map.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/std/map/hash_map.rs:434:29 [INFO] [stdout] | [INFO] [stdout] 434 | use std::sync::atomic::{Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sleep` [INFO] [stdout] --> src/std/map/hash_map.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | use crate::sleep; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/std/map/btree_map.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/std/map/btree_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering` [INFO] [stdout] --> src/std/map/btree_map.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::atomic::{AtomicPtr, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/std/map/btree_map.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, LockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/std/map/btree_map.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/std/map/btree_map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `btree_map::IntoIter as IntoIter` and `btree_map::IterMut as MapIterMut` [INFO] [stdout] --> src/std/map/btree_map.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{BTreeMap as Map, btree_map::IntoIter as IntoIter, btree_map::Iter as MapIter, btree_map::IterMut as MapIterMut, Ha... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/std/map/btree_map.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/std/map/btree_map.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | use std::sync::atomic::{Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `SyncMapImpl` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `SyncMapImpl` 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/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `change_lifetime_const` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `change_lifetime_const` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `change_lifetime_mut` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `change_lifetime_mut` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `SyncMapRefMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `SyncMapRefMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use hash_map::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `IterMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use btree_map::*; [INFO] [stdout] | ------------ but the name `IterMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/std/lazy/mod.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `race` [INFO] [stdout] --> src/std/lazy/mod.rs:1201:7 [INFO] [stdout] | [INFO] [stdout] 1201 | #[cfg(feature = "race")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `js-sys` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `race` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/std/lazy/imp_std.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | cell::{Cell, UnsafeCell}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coroutine::Coroutine` [INFO] [stdout] --> src/std/lazy/imp_std.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::coroutine::Coroutine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/std/context/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::UnsafeCell` [INFO] [stdout] --> src/std/context/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::UnsafeCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/std/context/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/std/context/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/std/context/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/std/context/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::std::errors::{Error, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/std/context/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::std::sync::{AtomicOption, Mutex, Receiver, Sender}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/std/blocking/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::std::errors::Error` [INFO] [stdout] --> src/std/blocking/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::std::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/io/sys/unix/co_io.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(nightly, test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/lazy/mod.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mpsc_list.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mpsc_list_v1.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/condvar.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/mutex.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/rwlock.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/semphore.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/sync_flag.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/std/context/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | let (s, r) = chan!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/std/context/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | let (s, r) = chan!(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/park.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { cancel.cancel() }; [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/sleep.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cqueue.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { self.co.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cqueue.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | Some(j) if !j.is_done() => unsafe { j.coroutine().cancel() }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let ret = write(unsafe { self.vec.get_unchecked(id) }.evfd, buf); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/socket_read.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/udp_recv_from.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_listener_accpet.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_recv_from.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/wait_io.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/queue/array_queue.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/std/io/stream_chan.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/time/tick.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | go!(tick); [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/map/hash_map.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | fn into_iter(mut self) -> Self::IntoIter { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/std/map/hash_map.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | fn from(arg: Map) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 396 | Self::from(arg) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/std/map/btree_map.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/map/btree_map.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 375 | fn into_iter(mut self) -> Self::IntoIter { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/std/map/btree_map.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | fn from(arg: Map) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 383 | Self::from(arg) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/std/lazy/mod.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because `lazy::unsync::OnceCell::get_or_init::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/std/lazy/mod.rs:969:17 [INFO] [stdout] | [INFO] [stdout] 969 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because `lazy::sync::OnceCell::get_or_init::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/std/context/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(v) = self.done.get() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/context/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | for (_, mut v) in self.children.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/std/sync/channel.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MPMCBuffer { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 84 | /// default is an Unbounded buffer [INFO] [stdout] 85 | pub fn new() -> MPMCBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NopCloser` is never constructed [INFO] [stdout] --> src/std/io/io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct NopCloser where R: Read { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/std/context/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct CancelCtx { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | context: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/join.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/join.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/park.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sleep.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/coroutine_impl.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | self.inner.cancel.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = self.inner.cancel.cancel(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/socket_read.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/udp_recv_from.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_listener_accpet.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_recv_from.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/wait_io.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | self.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = self.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | self.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = self.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | / self.to_wake [INFO] [stdout] 75 | | .pop() [INFO] [stdout] 76 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 77 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / self.to_wake [INFO] [stdout] 87 | | .pop() [INFO] [stdout] 88 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 89 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | / self.to_wake [INFO] [stdout] 134 | | .pop() [INFO] [stdout] 135 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 136 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/sync_flag.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | self.wakeup_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = self.wakeup_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/sync_flag.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.wakeup_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.wakeup_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/wait_group.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | self.inner.cvar.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.inner.cvar.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | s.send(Some(Err(e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = s.send(Some(Err(e))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrShortWrite` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ErrShortWrite: Lazy = Lazy::new(|| err!("short write")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_SHORT_WRITE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `errInvalidWrite` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static errInvalidWrite: Lazy = Lazy::new(|| err!("invalid write result")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_INVALID_WRITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrShortBuffer` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static ErrShortBuffer: Lazy = Lazy::new(|| err!("short buffer")); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_SHORT_BUFFER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrUnexpectedEOF` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ErrUnexpectedEOF: Lazy = Lazy::new(|| err!("unexpected EOF")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_UNEXPECTED_EOF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrNoProgress` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ErrNoProgress: Lazy = Lazy::new(|| err!("multiple Read calls return no data or error")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_NO_PROGRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/time/tick.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | s.send(Time::now()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = s.send(Time::now()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TimeFormat` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const TimeFormat: &'static str = "[weekday repr:short], [day] [month repr:short] [year] [hour]:[minute]:[second] GMT"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `TIME_FORMAT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RFC3339Second` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const RFC3339Second: &'static str = "[year]-[month]-[day]T[hour]:[minute]:[second]"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RFC3339_SECOND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RFC3339Nano` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const RFC3339Nano: &'static str = "[year]-[month]-[day]T[hour]:[minute]:[second].[subsecond][offset_hour sign:mandatory]:[offset_minu... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RFC3339_NANO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `longDayNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static longDayNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LONG_DAY_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `shortDayNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub static shortDayNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SHORT_DAY_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `shortMonthNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static shortMonthNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SHORT_MONTH_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `longMonthNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub static longMonthNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LONG_MONTH_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | node.p.park(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = node.p.park(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | (*queue).p.unpark(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = (*queue).p.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | (*next).p.unpark(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = (*next).p.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/context/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | self.send.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = self.send.send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/blocking/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | send_e.send(Err(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = send_e.send(Err(e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/blocking/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | s.send(Ok(f())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = s.send(Ok(f())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 148 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/channel.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | s1.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = s1.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/channel.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | s1.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = s1.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> tests/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { j.coroutine().cancel() }; [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] --> tests/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { j.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/std/blocking/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 72 | panic!("e"); [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 73 | return 1; [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/park.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { cancel.cancel() }; [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/sleep.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cqueue.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { self.co.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/cqueue.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | Some(j) if !j.is_done() => unsafe { j.coroutine().cancel() }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let ret = write(unsafe { self.vec.get_unchecked(id) }.evfd, buf); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/socket_read.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/udp_recv_from.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_listener_accpet.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_recv_from.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/io/sys/unix/wait_io.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/os/unix/net.rs:1122:22 [INFO] [stdout] | [INFO] [stdout] 1122 | let thread = go!(move || { [INFO] [stdout] | ______________________- [INFO] [stdout] 1123 | | let mut stream = or_panic!(listener.accept()).0; [INFO] [stdout] 1124 | | let mut buf = [0; 5]; [INFO] [stdout] 1125 | | or_panic!(stream.read(&mut buf)); [INFO] [stdout] 1126 | | assert_eq!(&msg1[..], &buf[..]); [INFO] [stdout] 1127 | | or_panic!(stream.write_all(msg2)); [INFO] [stdout] 1128 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/os/unix/net.rs:1150:22 [INFO] [stdout] | [INFO] [stdout] 1150 | let thread = go!(move || { [INFO] [stdout] | ______________________- [INFO] [stdout] 1151 | | // s1 must be moved in or the test will hang! [INFO] [stdout] 1152 | | let mut buf = [0; 5]; [INFO] [stdout] 1153 | | or_panic!(s1.read(&mut buf)); [INFO] [stdout] 1154 | | assert_eq!(&msg1[..], &buf[..]); [INFO] [stdout] 1155 | | or_panic!(s1.write_all(msg2)); [INFO] [stdout] 1156 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/os/unix/net.rs:1175:22 [INFO] [stdout] | [INFO] [stdout] 1175 | let thread = go!(move || { [INFO] [stdout] | ______________________- [INFO] [stdout] 1176 | | let mut stream = or_panic!(listener.accept()).0; [INFO] [stdout] 1177 | | or_panic!(stream.write_all(msg1)); [INFO] [stdout] 1178 | | or_panic!(stream.write_all(msg2)); [INFO] [stdout] 1179 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/os/unix/net.rs:1199:22 [INFO] [stdout] | [INFO] [stdout] 1199 | let thread = go!(move || for stream in listener.incoming().take(2) { [INFO] [stdout] | ______________________- [INFO] [stdout] 1200 | | let mut stream = or_panic!(stream); [INFO] [stdout] 1201 | | let mut buf = [0]; [INFO] [stdout] 1202 | | or_panic!(stream.read(&mut buf)); [INFO] [stdout] 1203 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/os/unix/net.rs:1384:22 [INFO] [stdout] | [INFO] [stdout] 1384 | let thread = go!(move || { [INFO] [stdout] | ______________________- [INFO] [stdout] 1385 | | // s1 must be moved in or the test will hang! [INFO] [stdout] 1386 | | let mut buf = [0; 5]; [INFO] [stdout] 1387 | | or_panic!(s1.recv(&mut buf)); [INFO] [stdout] 1388 | | assert_eq!(&msg1[..], &buf[..]); [INFO] [stdout] 1389 | | or_panic!(s1.send(msg2)); [INFO] [stdout] 1390 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/queue/array_queue.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/condvar.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | let h = go!(move || { [INFO] [stdout] | _____________________- [INFO] [stdout] 321 | | let &(ref lock, ref cond) = &*data; [INFO] [stdout] 322 | | let mut cnt = lock.lock().unwrap(); [INFO] [stdout] 323 | | *cnt += 1; [INFO] [stdout] ... | [INFO] [stdout] 330 | | tx.send(()).unwrap(); [INFO] [stdout] 331 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/condvar.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | unsafe { vec[i].coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/mutex.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | / go!(move || { [INFO] [stdout] 300 | | inc(&m2); [INFO] [stdout] 301 | | tx2.send(()).unwrap(); [INFO] [stdout] 302 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/mutex.rs:509:18 [INFO] [stdout] | [INFO] [stdout] 509 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 510 | | let mut g = mutex2.lock().unwrap(); [INFO] [stdout] 511 | | *g += 1; [INFO] [stdout] 512 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/mutex.rs:514:18 [INFO] [stdout] | [INFO] [stdout] 514 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 515 | | // let h1 enqueue [INFO] [stdout] 516 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 517 | | let mut g = mutex3.lock().unwrap(); [INFO] [stdout] 518 | | *g += 1; [INFO] [stdout] 519 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/mutex.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/mutex.rs:544:18 [INFO] [stdout] | [INFO] [stdout] 544 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 545 | | let mut g = mutex2.lock().unwrap(); [INFO] [stdout] 546 | | // test cancel when holding the mutex [INFO] [stdout] 547 | | // this should not be poision [INFO] [stdout] 548 | | sleep(Duration::from_secs(10000)); [INFO] [stdout] 549 | | *g += 1; [INFO] [stdout] 550 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/mutex.rs:552:18 [INFO] [stdout] | [INFO] [stdout] 552 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 553 | | // let h1 enqueue [INFO] [stdout] 554 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 555 | | let mut g = mutex3.lock().unwrap(); [INFO] [stdout] 556 | | *g += 1; [INFO] [stdout] 557 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/mutex.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/rwlock.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | go!(f); [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/rwlock.rs:595:21 [INFO] [stdout] | [INFO] [stdout] 595 | let h = go!(move || { [INFO] [stdout] | _____________________- [INFO] [stdout] 596 | | // tell master that we started [INFO] [stdout] 597 | | tx.send(0).unwrap(); [INFO] [stdout] 598 | | // first get the wlock [INFO] [stdout] ... | [INFO] [stdout] 609 | | // println!("got cond id={}", i); [INFO] [stdout] 610 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/rwlock.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | unsafe { vec[cancel_id - 1].coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/rwlock.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | / go!(move || { [INFO] [stdout] 661 | | // tell master that we started [INFO] [stdout] 662 | | tx.send(0).unwrap(); [INFO] [stdout] 663 | | // first get the rlock [INFO] [stdout] 664 | | let _rlock = rwlock.read().unwrap(); [INFO] [stdout] 665 | | tx.send(1).unwrap(); [INFO] [stdout] 666 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/rwlock.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | unsafe { h.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/semphore.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | / go!(move || { [INFO] [stdout] 211 | | sem2.wait(); [INFO] [stdout] 212 | | tx2.send(i).unwrap(); [INFO] [stdout] 213 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/semphore.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 248 | | sem2.wait(); [INFO] [stdout] 249 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/semphore.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 252 | | // let h1 enqueue [INFO] [stdout] 253 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 254 | | sem3.wait(); [INFO] [stdout] 255 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/semphore.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/semphore.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 277 | | let r = sem2.wait_timeout(Duration::from_millis(10)); [INFO] [stdout] 278 | | assert_eq!(r, false); [INFO] [stdout] 279 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/semphore.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 282 | | // let h1 enqueue [INFO] [stdout] 283 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 284 | | sem3.wait(); [INFO] [stdout] 285 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/sync_flag.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 186 | | flag2.wait(); [INFO] [stdout] 187 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/sync_flag.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 190 | | // let h1 enqueue [INFO] [stdout] 191 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 192 | | flag3.wait(); [INFO] [stdout] 193 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/sync_flag.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/sync_flag.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | let h1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 215 | | let r = flag2.wait_timeout(Duration::from_millis(10)); [INFO] [stdout] 216 | | assert_eq!(r, false); [INFO] [stdout] 217 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/sync_flag.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | let h2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 220 | | // let h1 enqueue [INFO] [stdout] 221 | | sleep(Duration::from_millis(50)); [INFO] [stdout] 222 | | flag3.wait(); [INFO] [stdout] 223 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/sync/once.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/sync/once.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/once.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | go!(move ||{unsafe {run(oc,o,s);}}); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | / go!(move ||{ [INFO] [stdout] 462 | | tx.send(1); [INFO] [stdout] 463 | | drop(wg_clone); [INFO] [stdout] 464 | | let now = std::time::Instant::now(); [INFO] [stdout] ... | [INFO] [stdout] 467 | | *l = now.elapsed(); [INFO] [stdout] 468 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:520:18 [INFO] [stdout] | [INFO] [stdout] 520 | let _t = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 521 | | tx.send(1).unwrap(); [INFO] [stdout] 522 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:554:18 [INFO] [stdout] | [INFO] [stdout] 554 | let _t = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 555 | | rx.recv().unwrap(); [INFO] [stdout] 556 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | let _t = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 590 | | tx.send(1).unwrap(); [INFO] [stdout] 591 | | tx.send(1).unwrap(); [INFO] [stdout] 592 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | / go!(move || for _ in 0..AMT { [INFO] [stdout] 629 | | tx.send(1).unwrap(); [INFO] [stdout] 630 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:640:18 [INFO] [stdout] | [INFO] [stdout] 640 | let t1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 641 | | tx1.send(()).unwrap(); [INFO] [stdout] 642 | | for _ in 0..40 { [INFO] [stdout] 643 | | let r = rx2.recv(); [INFO] [stdout] 644 | | assert_eq!(r.unwrap(), 1); [INFO] [stdout] 645 | | } [INFO] [stdout] 646 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:648:18 [INFO] [stdout] | [INFO] [stdout] 648 | let t2 = go!(move || for _ in 0..40 { [INFO] [stdout] | __________________- [INFO] [stdout] 649 | | tx2.send(1).unwrap(); [INFO] [stdout] 650 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:677:18 [INFO] [stdout] | [INFO] [stdout] 677 | let t2 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 678 | | tx1.send(1).unwrap(); [INFO] [stdout] 679 | | assert_eq!(rx2.recv().unwrap(), 2); [INFO] [stdout] 680 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/sync/channel.rs:710:19 [INFO] [stdout] | [INFO] [stdout] 710 | let res = go!(move || { [INFO] [stdout] | ___________________- [INFO] [stdout] 711 | | let (tx, rx) = channel::(); [INFO] [stdout] 712 | | drop(tx); [INFO] [stdout] 713 | | rx.recv().unwrap(); [INFO] [stdout] 714 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/std/io/stream_chan.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/io/stream_chan.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut c = ChanStream { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/io/stream_chan.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut c = ChanStream { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/time/tick.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | go!(tick); [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/time/tick.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / go!(move ||{ [INFO] [stdout] 142 | | for x in tclone.as_ref() { [INFO] [stdout] 143 | | println!("tick {}", x); [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/time/tick.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut t = Arc::new(Ticker::new(Duration::from_secs(1))); [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/std/time/time.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | let mut now = Time::now(); [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/std/map/hash_map.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | fn into_iter(mut self) -> Self::IntoIter { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/std/map/hash_map.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | fn from(arg: Map) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 396 | Self::from(arg) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:485:22 [INFO] [stdout] | [INFO] [stdout] 485 | let insert = m1.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:490:22 [INFO] [stdout] | [INFO] [stdout] 490 | let insert = m2.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | / go!(move ||{ [INFO] [stdout] 484 | | m1.remove(&1); [INFO] [stdout] 485 | | let insert = m1.insert(1, 2); [INFO] [stdout] 486 | | drop(wg1); [INFO] [stdout] 487 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | / go!(move ||{ [INFO] [stdout] 489 | | m2.remove(&1); [INFO] [stdout] 490 | | let insert = m2.insert(1, 2); [INFO] [stdout] 491 | | drop(wg2); [INFO] [stdout] 492 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:509:26 [INFO] [stdout] | [INFO] [stdout] 509 | let insert = m1.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:516:26 [INFO] [stdout] | [INFO] [stdout] 516 | let insert = m2.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | / go!(move ||{ [INFO] [stdout] 507 | | for i in 0..10000{ [INFO] [stdout] 508 | | m1.remove(&i); [INFO] [stdout] 509 | | let insert = m1.insert(i, i); [INFO] [stdout] 510 | | } [INFO] [stdout] 511 | | drop(wg1); [INFO] [stdout] 512 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | / go!(move ||{ [INFO] [stdout] 514 | | for i in 0..10000{ [INFO] [stdout] 515 | | m2.remove(&i); [INFO] [stdout] 516 | | let insert = m2.insert(i, i); [INFO] [stdout] 517 | | } [INFO] [stdout] 518 | | drop(wg2); [INFO] [stdout] 519 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:527:13 [INFO] [stdout] | [INFO] [stdout] 527 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | let insert = m.insert(1, a); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:613:21 [INFO] [stdout] | [INFO] [stdout] 613 | let insert = m.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | / go!(move ||{ [INFO] [stdout] 613 | | let insert = m.insert(i, i); [INFO] [stdout] 614 | | let g = m.get(&i).unwrap(); [INFO] [stdout] 615 | | assert_eq!(i, *g.deref()); [INFO] [stdout] 616 | | drop(wg); [INFO] [stdout] 617 | | println!("done{}",i); [INFO] [stdout] 618 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | / go!(move ||{ [INFO] [stdout] 620 | | let g = m2.remove(&i); [INFO] [stdout] 621 | | if g.is_some(){ [INFO] [stdout] 622 | | println!("done remove {}",i); [INFO] [stdout] 623 | | drop(wg2);} }); [INFO] [stdout] | |________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:637:21 [INFO] [stdout] | [INFO] [stdout] 637 | let insert = m.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/std/map/hash_map.rs:646:22 [INFO] [stdout] | [INFO] [stdout] 646 | let g = m2.remove(&i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | / go!(move ||{ [INFO] [stdout] 637 | | let insert = m.insert(i, i); [INFO] [stdout] 638 | | let g = m.get(&i).unwrap(); [INFO] [stdout] 639 | | assert_eq!(i, *g.deref()); [INFO] [stdout] 640 | | drop(wg); [INFO] [stdout] 641 | | println!("done{}",i); [INFO] [stdout] 642 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/hash_map.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | / go!(move ||{ [INFO] [stdout] 646 | | let g = m2.remove(&i); [INFO] [stdout] 647 | | drop(wg2); [INFO] [stdout] 648 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/std/map/btree_map.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/map/btree_map.rs:375:18 [INFO] [stdout] | [INFO] [stdout] 375 | fn into_iter(mut self) -> Self::IntoIter { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/std/map/btree_map.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | fn from(arg: Map) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 383 | Self::from(arg) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 462 | let insert = m1.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:467:22 [INFO] [stdout] | [INFO] [stdout] 467 | let insert = m2.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/btree_map.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | / go!(move ||{ [INFO] [stdout] 461 | | m1.remove(&1); [INFO] [stdout] 462 | | let insert = m1.insert(1, 2); [INFO] [stdout] 463 | | drop(wg1); [INFO] [stdout] 464 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/map/btree_map.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | / go!(move ||{ [INFO] [stdout] 466 | | m2.remove(&1); [INFO] [stdout] 467 | | let insert = m2.insert(1, 2); [INFO] [stdout] 468 | | drop(wg2); [INFO] [stdout] 469 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/lazy/imp_std.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | / go!(move || { [INFO] [stdout] 280 | | for _ in 0..4 { [INFO] [stdout] 281 | | crate::coroutine::yield_now(); [INFO] [stdout] 282 | | } [INFO] [stdout] ... | [INFO] [stdout] 290 | | tx.send(()).unwrap(); [INFO] [stdout] 291 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/lazy/imp_std.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | let t1 = go!(move || { [INFO] [stdout] | __________________- [INFO] [stdout] 342 | | O.init(|| { [INFO] [stdout] 343 | | tx1.send(()).unwrap(); [INFO] [stdout] 344 | | rx2.recv().unwrap(); [INFO] [stdout] 345 | | }); [INFO] [stdout] 346 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/macros.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { $crate::coroutine::spawn($func) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/std/lazy/imp_std.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | let t2 = go!(|| { [INFO] [stdout] | __________________- [INFO] [stdout] 352 | | let mut called = false; [INFO] [stdout] 353 | | O.init(|| { [INFO] [stdout] 354 | | called = true; [INFO] [stdout] 355 | | }); [INFO] [stdout] 356 | | assert!(!called); [INFO] [stdout] 357 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `go` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/std/lazy/mod.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because `lazy::unsync::OnceCell::get_or_init::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/std/lazy/mod.rs:969:17 [INFO] [stdout] | [INFO] [stdout] 969 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because `lazy::sync::OnceCell::get_or_init::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/std/context/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(v) = self.done.get() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/context/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | for (_, mut v) in self.children.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/std/sync/channel.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MPMCBuffer { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 84 | /// default is an Unbounded buffer [INFO] [stdout] 85 | pub fn new() -> MPMCBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NopCloser` is never constructed [INFO] [stdout] --> src/std/io/io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct NopCloser where R: Read { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/std/context/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct CancelCtx { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | context: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/join.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/join.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/park.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/sleep.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/coroutine_impl.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | self.inner.cancel.cancel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = self.inner.cancel.cancel(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 145 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cqueue.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | w.unpark(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 264 | let _ = w.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/socket_read.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/udp_recv_from.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_listener_accpet.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_recv_from.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/io/sys/unix/wait_io.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { cancel.cancel() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { let _ = cancel.cancel(); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | q.push(1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 484 | let _ = q.push(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | q.push(2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 485 | let _ = q.push(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | q.push(3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = q.push(3); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | self.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = self.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | self.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = self.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | c.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = c.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | c.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 213 | let _ = c.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 261 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 281 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 358 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | / self.to_wake [INFO] [stdout] 75 | | .pop() [INFO] [stdout] 76 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 77 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | cvar.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 394 | let _ = cvar.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | cvar.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 416 | let _ = cvar.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / self.to_wake [INFO] [stdout] 87 | | .pop() [INFO] [stdout] 88 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 89 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | / self.to_wake [INFO] [stdout] 134 | | .pop() [INFO] [stdout] 135 | | .map(|w| self.unpark_one(&w)) [INFO] [stdout] 136 | | .expect("got null blocker!"); [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = self.to_wake [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 639 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/sync_flag.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | self.wakeup_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = self.wakeup_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/sync_flag.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | self.wakeup_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.wakeup_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/wait_group.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | self.inner.cvar.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = self.inner.cvar.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/std/sync/once.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | panic!(format!("once failed inside run: {} is not 1", o.value())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - panic!(format!("once failed inside run: {} is not 1", o.value())); [INFO] [stdout] 83 + panic!("once failed inside run: {} is not 1", o.value()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | s.send(true); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = s.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | r.recv(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = r.recv(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/std/sync/once.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(format!("once failed outside run: {} is not 1", one.value())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - panic!(format!("once failed outside run: {} is not 1", one.value())); [INFO] [stdout] 105 + panic!("once failed outside run: {} is not 1", one.value()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / catch_unwind(|| { [INFO] [stdout] 113 | | once.r#do(|| { [INFO] [stdout] 114 | | panic!("failed"); [INFO] [stdout] 115 | | }); [INFO] [stdout] 116 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = catch_unwind(|| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/channel.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | tx.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 462 | let _ = tx.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/channel.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | tx.send(2); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 465 | let _ = tx.send(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | s.send(Some(Err(e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = s.send(Some(Err(e))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | s.send(Some(Ok(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = s.send(Some(Ok(1))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | s.send(Some(Ok(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = s.send(Some(Ok(1))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrShortWrite` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ErrShortWrite: Lazy = Lazy::new(|| err!("short write")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_SHORT_WRITE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `errInvalidWrite` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub static errInvalidWrite: Lazy = Lazy::new(|| err!("invalid write result")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_INVALID_WRITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrShortBuffer` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static ErrShortBuffer: Lazy = Lazy::new(|| err!("short buffer")); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_SHORT_BUFFER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrUnexpectedEOF` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ErrUnexpectedEOF: Lazy = Lazy::new(|| err!("unexpected EOF")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_UNEXPECTED_EOF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ErrNoProgress` should have an upper case name [INFO] [stdout] --> src/std/io/io.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ErrNoProgress: Lazy = Lazy::new(|| err!("multiple Read calls return no data or error")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ERR_NO_PROGRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/time/tick.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | s.send(Time::now()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = s.send(Time::now()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/time/tick.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | t.stop(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = t.stop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TimeFormat` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const TimeFormat: &'static str = "[weekday repr:short], [day] [month repr:short] [year] [hour]:[minute]:[second] GMT"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `TIME_FORMAT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RFC3339Second` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const RFC3339Second: &'static str = "[year]-[month]-[day]T[hour]:[minute]:[second]"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RFC3339_SECOND` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RFC3339Nano` should have an upper case name [INFO] [stdout] --> src/std/time/time.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const RFC3339Nano: &'static str = "[year]-[month]-[day]T[hour]:[minute]:[second].[subsecond][offset_hour sign:mandatory]:[offset_minu... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RFC3339_NANO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `longDayNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static longDayNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LONG_DAY_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `shortDayNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub static shortDayNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SHORT_DAY_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `shortMonthNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static shortMonthNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SHORT_MONTH_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `longMonthNames` should have an upper case name [INFO] [stdout] --> src/std/time/format.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub static longMonthNames: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LONG_MONTH_NAMES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/map/hash_map.rs:615:33 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(i, *g.deref()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `i32` does not implement `Deref`, so calling `deref` on `&i32` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/map/hash_map.rs:639:33 [INFO] [stdout] | [INFO] [stdout] 639 | assert_eq!(i, *g.deref()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `i32` does not implement `Deref`, so calling `deref` on `&i32` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/std/map/btree_map.rs:479:25 [INFO] [stdout] | [INFO] [stdout] 479 | assert_eq!(2, *g.deref()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `i32` does not implement `Deref`, so calling `deref` on `&i32` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | node.p.park(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = node.p.park(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | (*queue).p.unpark(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 233 | let _ = (*queue).p.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/lazy/imp_std.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | (*next).p.unpark(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = (*next).p.unpark(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/context/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | self.send.send(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = self.send.send(()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/blocking/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | send_e.send(Err(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = send_e.send(Err(e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/blocking/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | s.send(Ok(f())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = s.send(Ok(f())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 270 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.66s [INFO] running `Command { std: "docker" "inspect" "81d347198160f3bb3638ad2740a5558023c8ed377506bc68e350fee620de3d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d347198160f3bb3638ad2740a5558023c8ed377506bc68e350fee620de3d45", kill_on_drop: false }` [INFO] [stdout] 81d347198160f3bb3638ad2740a5558023c8ed377506bc68e350fee620de3d45