[INFO] fetching crate cogo 0.1.36... [INFO] checking cogo-0.1.36 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cogo 0.1.36 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cogo 0.1.36 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56223be69f599ffa2dddc4ee0206d7290ffb5318ce0f21dae20391a3defcd0a1 [INFO] running `Command { std: "docker" "start" "-a" "56223be69f599ffa2dddc4ee0206d7290ffb5318ce0f21dae20391a3defcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56223be69f599ffa2dddc4ee0206d7290ffb5318ce0f21dae20391a3defcd0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56223be69f599ffa2dddc4ee0206d7290ffb5318ce0f21dae20391a3defcd0a1", kill_on_drop: false }` [INFO] [stdout] 56223be69f599ffa2dddc4ee0206d7290ffb5318ce0f21dae20391a3defcd0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32754866e20db9bfe83f88e4b621de40d1fd76cf1a1a42d3642ba6687c119a28 [INFO] running `Command { std: "docker" "start" "-a" "32754866e20db9bfe83f88e4b621de40d1fd76cf1a1a42d3642ba6687c119a28", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [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 remove_dir_all v0.5.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling cogo v0.1.36 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempdir v0.3.7 [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: 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: 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: `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 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 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: 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: 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/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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(panic: Arc>>>) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Join { [INFO] [stdout] 30 | to_wake: AtomicOption::none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn join(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / self.packet [INFO] [stdout] 115 | | .take() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | .ok_or_else(|| self.panic.take().unwrap_or_else(|| Box::new(Error::Cancel))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(co: Coroutine, join: Arc) -> Box { [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Box::new(CoroutineLocal { [INFO] [stdout] | __________________^ [INFO] [stdout] 29 | | co, [INFO] [stdout] 30 | | join, [INFO] [stdout] 31 | | local_data: RefCell::new(HashMap::default()), [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn with(&'static self, f: F) -> R [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | with(|data| { [INFO] [stdout] | ______________^ [INFO] [stdout] 139 | | let raw_pointer = { [INFO] [stdout] 140 | | let mut data = data.borrow_mut(); [INFO] [stdout] 141 | | let entry = data.entry(key).or_insert_with(|| Box::new((self.__init)())); [INFO] [stdout] ... | [INFO] [stdout] 144 | | unsafe { f(&*raw_pointer) } [INFO] [stdout] 145 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:141:72 [INFO] [stdout] | [INFO] [stdout] 141 | let entry = data.entry(key).or_insert_with(|| Box::new((self.__init)())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/park.rs:252:55 [INFO] [stdout] | [INFO] [stdout] 252 | .map(|dur| get_scheduler().add_timer(dur, self.wait_co.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/coroutine_impl.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 252 | fn spawn_impl(self, f: F) -> (CoroutineImpl, JoinHandle) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let _co = if stack_size == config().get_stack_size() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | let co = sched.pool.get(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | let panic = Arc::new(AtomicCell::new(None)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let join = Arc::new(Join::new(panic.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let packet = Arc::new(AtomicCell::new(None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | let their_join = join.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let their_packet = packet.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let closure = move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let mut co = if let Some(mut c) = _co { [INFO] [stdout] | -- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let handle = Coroutine::new(name, stack_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | // create the local storage [INFO] [stdout] 304 | let local = CoroutineLocal::new(handle.clone(), join.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | (co, make_join_handle(handle, join, packet, panic)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scheduler.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 187 | let mut local_queues = Vec::with_capacity(workers); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | (0..workers).for_each(|_| local_queues.push(deque::Worker::new_fifo())); [INFO] [stdout] 189 | let mut stealers = Vec::with_capacity(workers); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Box::new(Scheduler { [INFO] [stdout] | __________________^ [INFO] [stdout] 201 | | pool: CoroutinePool::new(), [INFO] [stdout] 202 | | event_loop: EventLoop::new(workers).expect("can't create event_loop"), [INFO] [stdout] 203 | | global_queue: deque::Injector::new(), [INFO] [stdout] ... | [INFO] [stdout] 208 | | workers_len: workers, [INFO] [stdout] 209 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scheduler.rs:188:53 [INFO] [stdout] | [INFO] [stdout] 188 | (0..workers).for_each(|_| local_queues.push(deque::Worker::new_fifo())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scoped.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn spawn_unsafe<'a, F>(f: F) -> JoinHandle<()> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let closure: Box = Box::new(f); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let closure: Box = mem::transmute(closure); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | spawn(move || closure()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scoped.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn join(self) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | self.inner.borrow_mut().join(); [INFO] [stdout] 184 | self.packet.take().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/mod.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | OptionCell(Some(data)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(SingleSelector { [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | epfd, [INFO] [stdout] 47 | | evfd, [INFO] [stdout] 48 | | free_ev: mpsc::new(), [INFO] [stdout] 49 | | timer_list: TimerList::new(), [INFO] [stdout] 50 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn add_fd(&self, io_data: IoData) -> io::Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | / epoll_ctl(epfd, EpollOp::EpollCtlAdd, fd, &mut info) [INFO] [stdout] 178 | | .map_err(from_nix_error) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn add_fd(&self, io_data: IoData) -> io::Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | .map(|_| io_data) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/co_io.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(io: T) -> Result> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let io_data = match io_impl::add_socket(&io) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(o) => o, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Err(e) => return Err(Error::new(e, io)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(CoIo { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | inner: io, [INFO] [stdout] 81 | | io: io_data, [INFO] [stdout] 82 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 83 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 84 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((s, a)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | s.set_nonblocking(true)?; [INFO] [stdout] 34 | return add_socket(&s).map(|io| (TcpStream::from_stream(s, io), a)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(addr: A, timeout: Option) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let err = io::Error::new(io::ErrorKind::Other, "no socket addresses resolved"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | / addr.to_socket_addrs()? [INFO] [stdout] 28 | | .fold(Err(err), |prev, addr| { [INFO] [stdout] 29 | | prev.or_else(|_| { [INFO] [stdout] 30 | | let stream = match addr { [INFO] [stdout] ... | [INFO] [stdout] 35 | | }) [INFO] [stdout] 36 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 29 | prev.or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let stream = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok((stream, addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 42 | | io_data: OptionCell::new(io), [INFO] [stdout] 43 | | stream: OptionCell::new(stream), [INFO] [stdout] 44 | | timeout, [INFO] [stdout] 45 | | addr, [INFO] [stdout] 46 | | is_connected: false, [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | io_data: OptionCell::new(io), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | io_data: OptionCell::new(io), [INFO] [stdout] 43 | stream: OptionCell::new(stream), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 68 | let stream = s.stream.take().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | TcpStream::from_stream(stream, s.io_data.take()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/udp_send_to.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(socket: &'a UdpSocket, buf: &'a [u8], addr: A) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(UdpSendTo { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | io_data: socket.as_io_data(), [INFO] [stdout] 25 | | buf, [INFO] [stdout] 26 | | socket: socket.inner(), [INFO] [stdout] 27 | | addr, [INFO] [stdout] 28 | | timeout: socket.write_timeout().unwrap(), [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let path = SockAddr::unix(path)?; [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let path = SockAddr::unix(path)?; [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | io_data: OptionCell::new(io), [INFO] [stdout] 29 | | stream: OptionCell::new(socket), [INFO] [stdout] 30 | | path, [INFO] [stdout] 31 | | is_connected: false, [INFO] [stdout] 32 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | io_data: OptionCell::new(io), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | io_data: OptionCell::new(io), [INFO] [stdout] 29 | stream: OptionCell::new(socket), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 52 | let stream = s.stream.take().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | UnixStream::from_coio(CoIo::from_raw(stream, s.io_data.take())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(s: net::TcpStream) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | io_impl::add_socket(&s).map(|io| TcpStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(s: net::TcpStream) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | io_impl::add_socket(&s).map(|io| TcpStream { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 32 | | io, [INFO] [stdout] 33 | | sys: s, [INFO] [stdout] 34 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 35 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 36 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 322 | fn new(s: net::TcpListener) -> io::Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | io_impl::add_socket(&s).map(|io| TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 322 | fn new(s: net::TcpListener) -> io::Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | io_impl::add_socket(&s).map(|io| TcpListener { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 329 | | io, [INFO] [stdout] 330 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 331 | | sys: s, [INFO] [stdout] 332 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | .and_then(|(s, a)| TcpStream::new(s).map(|s| (s, a))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 510 | let s: net::TcpListener = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | TcpListener::new(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(s: net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | io_impl::add_socket(&s).map(|io| UdpSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(s: net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | io_impl::add_socket(&s).map(|io| UdpSocket { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 27 | | io, [INFO] [stdout] 28 | | sys: s, [INFO] [stdout] 29 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 30 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 31 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn bind(addr: A) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | net::UdpSocket::bind(addr).and_then(UdpSocket::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 101 | let (i1, i2) = net::UnixStream::pair()?; [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | let i1 = UnixStream(CoIo::new(i1)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let i2 = UnixStream(CoIo::new(i2)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Ok((i1, i2)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | let stream = self.0.inner().try_clone()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(UnixStream(CoIo::new(stream)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 317 | let stream = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | UnixStream(CoIo::new(stream).expect("can't convert to UnixStream")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let listener = net::UnixListener::bind(path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Ok(UnixListener(CoIo::new(listener)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 449 | let listener = self.0.inner().try_clone()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | Ok(UnixListener(CoIo::new(listener)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:542:22 [INFO] [stdout] | [INFO] [stdout] 541 | let listener = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | UnixListener(CoIo::new(listener).expect("can't convert to UnixListener")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 651 | let datagram = net::UnixDatagram::bind(path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:672:12 [INFO] [stdout] | [INFO] [stdout] 671 | let datagram = net::UnixDatagram::unbound()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 672 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 693 | let (i1, i2) = net::UnixDatagram::pair()?; [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let i1 = UnixDatagram(CoIo::new(i1)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let i2 = UnixDatagram(CoIo::new(i2)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 696 | Ok((i1, i2)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:745:12 [INFO] [stdout] | [INFO] [stdout] 744 | let datagram = self.0.inner().try_clone()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1081 | let datagram = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | UnixDatagram(CoIo::new(datagram).expect("can't convert to UnixDatagram")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/queue/mpsc_list.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn new(v: Option) -> *mut Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::into_raw(Box::new(Node { [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | next: AtomicPtr::new(ptr::null_mut()), [INFO] [stdout] 17 | | value: v, [INFO] [stdout] 18 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/queue/mpsc_list_v1.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn new(v: Option) -> *mut Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Box::into_raw(Box::new(Node { [INFO] [stdout] | _______________________^ [INFO] [stdout] 22 | | prev: ptr::null_mut(), [INFO] [stdout] 23 | | next: AtomicPtr::new(ptr::null_mut()), [INFO] [stdout] 24 | | value: v, [INFO] [stdout] 25 | | refs: REF_INIT, [INFO] [stdout] 26 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn some(t: T) -> AtomicOption { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | AtomicOption { [INFO] [stdout] 43 | inner: AtomicCell::new(Some(t)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn store(&self, t: T) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | self.inner.store(Some(t)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn swap(&self, t: T) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self.inner.swap(Some(t)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/blocking.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 146 | let blocker = Blocker::new(true); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | [INFO] [stdout] 148 | Arc::new(SyncBlocker { [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | unparked: AtomicBool::new(false), [INFO] [stdout] 150 | | release: AtomicBool::new(false), [INFO] [stdout] 151 | | blocker, [INFO] [stdout] 152 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_arc(t: T) -> Arc> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Arc::new(Self::new(t)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(t: T) -> Mutex { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Mutex { [INFO] [stdout] 52 | to_wake: WaitList::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(t: T) -> Mutex { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | data: UnsafeCell::new(t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn into_inner(self) -> LockResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let data = self.data.into_inner(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | poison::map_result(self.poison.borrow(), |_| data) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | RwLock { [INFO] [stdout] 62 | to_wake: WaitList::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | rlock: Mutex::new(0), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | data: UnsafeCell::new(t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn into_inner(self) -> LockResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let data = self.data.into_inner(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | poison::map_result(self.poison.borrow(), |_| data) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/wait_group.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 144 | let mut count = self.inner.count.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | inner: self.inner.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/channel.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Arc::new(MPMCBuffer::new_buffer(buf)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | (Sender::new(a.clone()), Receiver::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/channel.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Arc::new(MPMCBuffer::new_buffer(buf)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | (Sender::new(a.clone()), Receiver::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/hash_map.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn insert(&self, k: K, v: V) -> Option where K: Clone { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | match self.dirty.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/hash_map.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 412 | fn deserialize(deserializer: D) -> Result where D: Deserializer<'de> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | let m = Map::deserialize(deserializer)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 414 | Ok(Self::from(m)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/btree_map.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert(&self, k: K, v: V) -> Option where K: Clone + std::cmp::Ord { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | match self.dirty.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/btree_map.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 399 | fn deserialize(deserializer: D) -> Result where D: Deserializer<'de> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let m = HashMap::deserialize(deserializer)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | Ok(Self::from(m)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/imp_std.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 98 | let f = unsafe { take_unchecked(&mut f) }; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | match f() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:416:31 [INFO] [stdout] | [INFO] [stdout] 415 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | OnceCell { inner: UnsafeCell::new(Some(value)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn set(&self, value: T) -> Result<(), T> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | match self.try_insert(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 534 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:534:57 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 534 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:687:26 [INFO] [stdout] | [INFO] [stdout] 686 | pub const fn new(init: F) -> Lazy { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 686 | pub const fn new(init: F) -> Lazy { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:696:13 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn into_value(this: Lazy) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let cell = this.cell; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let init = this.init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 696 | cell.into_inner().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:718:44 [INFO] [stdout] | [INFO] [stdout] 718 | this.cell.get_or_init(|| match this.init.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:906:19 [INFO] [stdout] | [INFO] [stdout] 905 | pub fn set(&self, value: T) -> Result<(), T> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 906 | match self.try_insert(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:967:40 [INFO] [stdout] | [INFO] [stdout] 962 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 967 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:967:57 [INFO] [stdout] | [INFO] [stdout] 962 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 967 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1125:26 [INFO] [stdout] | [INFO] [stdout] 1124 | pub const fn new(f: F) -> Lazy { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1125:49 [INFO] [stdout] | [INFO] [stdout] 1124 | pub const fn new(f: F) -> Lazy { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1134:13 [INFO] [stdout] | [INFO] [stdout] 1131 | pub fn into_value(this: Lazy) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1132 | let cell = this.cell; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1133 | let init = this.init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1134 | cell.into_inner().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1155:44 [INFO] [stdout] | [INFO] [stdout] 1155 | this.cell.get_or_init(|| match this.init.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new_arc(parent: Option>) -> Arc { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Arc::new(Self::new(parent)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | done: AtomicOption::some(r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | children: SyncHashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | err: AtomicOption::none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 92 previous errors; 148 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cogo` (lib) due to 93 previous errors; 148 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(panic: Arc>>>) -> Self { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Join { [INFO] [stdout] 30 | to_wake: AtomicOption::none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn join(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / self.packet [INFO] [stdout] 115 | | .take() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/join.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | .ok_or_else(|| self.panic.take().unwrap_or_else(|| Box::new(Error::Cancel))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(co: Coroutine, join: Arc) -> Box { [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Box::new(CoroutineLocal { [INFO] [stdout] | __________________^ [INFO] [stdout] 29 | | co, [INFO] [stdout] 30 | | join, [INFO] [stdout] 31 | | local_data: RefCell::new(HashMap::default()), [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn with(&'static self, f: F) -> R [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | with(|data| { [INFO] [stdout] | ______________^ [INFO] [stdout] 139 | | let raw_pointer = { [INFO] [stdout] 140 | | let mut data = data.borrow_mut(); [INFO] [stdout] 141 | | let entry = data.entry(key).or_insert_with(|| Box::new((self.__init)())); [INFO] [stdout] ... | [INFO] [stdout] 144 | | unsafe { f(&*raw_pointer) } [INFO] [stdout] 145 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local.rs:141:72 [INFO] [stdout] | [INFO] [stdout] 141 | let entry = data.entry(key).or_insert_with(|| Box::new((self.__init)())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/park.rs:252:55 [INFO] [stdout] | [INFO] [stdout] 252 | .map(|dur| get_scheduler().add_timer(dur, self.wait_co.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/coroutine_impl.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 252 | fn spawn_impl(self, f: F) -> (CoroutineImpl, JoinHandle) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let _co = if stack_size == config().get_stack_size() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | let co = sched.pool.get(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | let panic = Arc::new(AtomicCell::new(None)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | let join = Arc::new(Join::new(panic.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let packet = Arc::new(AtomicCell::new(None)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | let their_join = join.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let their_packet = packet.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let closure = move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let mut co = if let Some(mut c) = _co { [INFO] [stdout] | -- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let handle = Coroutine::new(name, stack_size); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | // create the local storage [INFO] [stdout] 304 | let local = CoroutineLocal::new(handle.clone(), join.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | (co, make_join_handle(handle, join, packet, panic)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scheduler.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 187 | let mut local_queues = Vec::with_capacity(workers); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | (0..workers).for_each(|_| local_queues.push(deque::Worker::new_fifo())); [INFO] [stdout] 189 | let mut stealers = Vec::with_capacity(workers); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Box::new(Scheduler { [INFO] [stdout] | __________________^ [INFO] [stdout] 201 | | pool: CoroutinePool::new(), [INFO] [stdout] 202 | | event_loop: EventLoop::new(workers).expect("can't create event_loop"), [INFO] [stdout] 203 | | global_queue: deque::Injector::new(), [INFO] [stdout] ... | [INFO] [stdout] 208 | | workers_len: workers, [INFO] [stdout] 209 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scheduler.rs:188:53 [INFO] [stdout] | [INFO] [stdout] 188 | (0..workers).for_each(|_| local_queues.push(deque::Worker::new_fifo())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scoped.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn spawn_unsafe<'a, F>(f: F) -> JoinHandle<()> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let closure: Box = Box::new(f); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let closure: Box = mem::transmute(closure); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | spawn(move || closure()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scoped.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn join(self) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | self.inner.borrow_mut().join(); [INFO] [stdout] 184 | self.packet.take().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/mod.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | OptionCell(Some(data)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(SingleSelector { [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | epfd, [INFO] [stdout] 47 | | evfd, [INFO] [stdout] 48 | | free_ev: mpsc::new(), [INFO] [stdout] 49 | | timer_list: TimerList::new(), [INFO] [stdout] 50 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn add_fd(&self, io_data: IoData) -> io::Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | / epoll_ctl(epfd, EpollOp::EpollCtlAdd, fd, &mut info) [INFO] [stdout] 178 | | .map_err(from_nix_error) [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/epoll.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn add_fd(&self, io_data: IoData) -> io::Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | .map(|_| io_data) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/co_io.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(io: T) -> Result> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let io_data = match io_impl::add_socket(&io) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(o) => o, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Err(e) => return Err(Error::new(e, io)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(CoIo { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | inner: io, [INFO] [stdout] 81 | | io: io_data, [INFO] [stdout] 82 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 83 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 84 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_listener_accpet.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((s, a)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | s.set_nonblocking(true)?; [INFO] [stdout] 34 | return add_socket(&s).map(|io| (TcpStream::from_stream(s, io), a)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(addr: A, timeout: Option) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let err = io::Error::new(io::ErrorKind::Other, "no socket addresses resolved"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | / addr.to_socket_addrs()? [INFO] [stdout] 28 | | .fold(Err(err), |prev, addr| { [INFO] [stdout] 29 | | prev.or_else(|_| { [INFO] [stdout] 30 | | let stream = match addr { [INFO] [stdout] ... | [INFO] [stdout] 35 | | }) [INFO] [stdout] 36 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 29 | prev.or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let stream = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok((stream, addr)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 42 | | io_data: OptionCell::new(io), [INFO] [stdout] 43 | | stream: OptionCell::new(stream), [INFO] [stdout] 44 | | timeout, [INFO] [stdout] 45 | | addr, [INFO] [stdout] 46 | | is_connected: false, [INFO] [stdout] 47 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | io_data: OptionCell::new(io), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|(stream, addr)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | add_socket(&stream).map(|io| TcpStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | io_data: OptionCell::new(io), [INFO] [stdout] 43 | stream: OptionCell::new(stream), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/tcp_stream_connect.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 68 | let stream = s.stream.take().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | TcpStream::from_stream(stream, s.io_data.take()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/udp_send_to.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(socket: &'a UdpSocket, buf: &'a [u8], addr: A) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(UdpSendTo { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | io_data: socket.as_io_data(), [INFO] [stdout] 25 | | buf, [INFO] [stdout] 26 | | socket: socket.inner(), [INFO] [stdout] 27 | | addr, [INFO] [stdout] 28 | | timeout: socket.write_timeout().unwrap(), [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let path = SockAddr::unix(path)?; [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let path = SockAddr::unix(path)?; [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | io_data: OptionCell::new(io), [INFO] [stdout] 29 | | stream: OptionCell::new(socket), [INFO] [stdout] 30 | | path, [INFO] [stdout] 31 | | is_connected: false, [INFO] [stdout] 32 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | io_data: OptionCell::new(io), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 24 | let socket = Socket::new(Domain::UNIX, Type::STREAM, None)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | add_socket(&socket).map(|io| UnixStreamConnect { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | io_data: OptionCell::new(io), [INFO] [stdout] 29 | stream: OptionCell::new(socket), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/sys/unix/net/unix_stream_connect.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 52 | let stream = s.stream.take().into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | UnixStream::from_coio(CoIo::from_raw(stream, s.io_data.take())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(s: net::TcpStream) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | io_impl::add_socket(&s).map(|io| TcpStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(s: net::TcpStream) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | io_impl::add_socket(&s).map(|io| TcpStream { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 32 | | io, [INFO] [stdout] 33 | | sys: s, [INFO] [stdout] 34 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 35 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 36 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 37 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 322 | fn new(s: net::TcpListener) -> io::Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | io_impl::add_socket(&s).map(|io| TcpListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 322 | fn new(s: net::TcpListener) -> io::Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | io_impl::add_socket(&s).map(|io| TcpListener { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 329 | | io, [INFO] [stdout] 330 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 331 | | sys: s, [INFO] [stdout] 332 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | .and_then(|(s, a)| TcpStream::new(s).map(|s| (s, a))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/tcp.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 510 | let s: net::TcpListener = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | TcpListener::new(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(s: net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | io_impl::add_socket(&s).map(|io| UdpSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(s: net::UdpSocket) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | io_impl::add_socket(&s).map(|io| UdpSocket { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 27 | | io, [INFO] [stdout] 28 | | sys: s, [INFO] [stdout] 29 | | ctx: io_impl::IoContext::new(), [INFO] [stdout] 30 | | read_timeout: AtomicDuration::new(None), [INFO] [stdout] 31 | | write_timeout: AtomicDuration::new(None), [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/net/udp.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn bind(addr: A) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | net::UdpSocket::bind(addr).and_then(UdpSocket::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 101 | let (i1, i2) = net::UnixStream::pair()?; [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | let i1 = UnixStream(CoIo::new(i1)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let i2 = UnixStream(CoIo::new(i2)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Ok((i1, i2)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | let stream = self.0.inner().try_clone()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(UnixStream(CoIo::new(stream)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:318:20 [INFO] [stdout] | [INFO] [stdout] 317 | let stream = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | UnixStream(CoIo::new(stream).expect("can't convert to UnixStream")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let listener = net::UnixListener::bind(path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Ok(UnixListener(CoIo::new(listener)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 449 | let listener = self.0.inner().try_clone()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | Ok(UnixListener(CoIo::new(listener)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:542:22 [INFO] [stdout] | [INFO] [stdout] 541 | let listener = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | UnixListener(CoIo::new(listener).expect("can't convert to UnixListener")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn bind>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 651 | let datagram = net::UnixDatagram::bind(path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 652 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:672:12 [INFO] [stdout] | [INFO] [stdout] 671 | let datagram = net::UnixDatagram::unbound()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 672 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 693 | let (i1, i2) = net::UnixDatagram::pair()?; [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let i1 = UnixDatagram(CoIo::new(i1)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let i2 = UnixDatagram(CoIo::new(i2)?); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 696 | Ok((i1, i2)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:745:12 [INFO] [stdout] | [INFO] [stdout] 744 | let datagram = self.0.inner().try_clone()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | Ok(UnixDatagram(CoIo::new(datagram)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1081 | let datagram = FromRawFd::from_raw_fd(fd); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | UnixDatagram(CoIo::new(datagram).expect("can't convert to UnixDatagram")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/os/unix/net.rs:1232:15 [INFO] [stdout] | [INFO] [stdout] 1215 | let dir = tmpdir(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1232 | match UnixDatagram::bind(&socket_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/queue/mpsc_list.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe fn new(v: Option) -> *mut Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Box::into_raw(Box::new(Node { [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | next: AtomicPtr::new(ptr::null_mut()), [INFO] [stdout] 17 | | value: v, [INFO] [stdout] 18 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/queue/mpsc_list_v1.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn new(v: Option) -> *mut Node { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Box::into_raw(Box::new(Node { [INFO] [stdout] | _______________________^ [INFO] [stdout] 22 | | prev: ptr::null_mut(), [INFO] [stdout] 23 | | next: AtomicPtr::new(ptr::null_mut()), [INFO] [stdout] 24 | | value: v, [INFO] [stdout] 25 | | refs: REF_INIT, [INFO] [stdout] 26 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn some(t: T) -> AtomicOption { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | AtomicOption { [INFO] [stdout] 43 | inner: AtomicCell::new(Some(t)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn store(&self, t: T) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | self.inner.store(Some(t)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/atomic_option.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn swap(&self, t: T) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self.inner.swap(Some(t)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/blocking.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 146 | let blocker = Blocker::new(true); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | [INFO] [stdout] 148 | Arc::new(SyncBlocker { [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | unparked: AtomicBool::new(false), [INFO] [stdout] 150 | | release: AtomicBool::new(false), [INFO] [stdout] 151 | | blocker, [INFO] [stdout] 152 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_arc(t: T) -> Arc> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Arc::new(Self::new(t)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(t: T) -> Mutex { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Mutex { [INFO] [stdout] 52 | to_wake: WaitList::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(t: T) -> Mutex { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | data: UnsafeCell::new(t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:163:50 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn into_inner(self) -> LockResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let data = self.data.into_inner(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | poison::map_result(self.poison.borrow(), |_| data) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 344 | let m = Arc::new(Mutex::new(NonCopy(10))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | let m2 = m.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | match Arc::try_unwrap(m).unwrap().into_inner() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/mutex.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 368 | let m = Arc::new(Mutex::new(NonCopy(10))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | let m2 = m.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | match Arc::try_unwrap(m).unwrap().get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | RwLock { [INFO] [stdout] 62 | to_wake: WaitList::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | rlock: Mutex::new(0), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(t: T) -> RwLock { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | data: UnsafeCell::new(t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:226:50 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn into_inner(self) -> LockResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let data = self.data.into_inner(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | poison::map_result(self.poison.borrow(), |_| data) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 543 | let m = Arc::new(RwLock::new(NonCopy(10))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | let m2 = m.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | match Arc::try_unwrap(m).unwrap().into_inner() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/rwlock.rs:576:15 [INFO] [stdout] | [INFO] [stdout] 567 | let m = Arc::new(RwLock::new(NonCopy(10))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 568 | let m2 = m.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | match Arc::try_unwrap(m).unwrap().get_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/wait_group.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 144 | let mut count = self.inner.count.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | inner: self.inner.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/channel.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Arc::new(MPMCBuffer::new_buffer(buf)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | (Sender::new(a.clone()), Receiver::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/sync/channel.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 34 | let a = Arc::new(MPMCBuffer::new_buffer(buf)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | (Sender::new(a.clone()), Receiver::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/hash_map.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn insert(&self, k: K, v: V) -> Option where K: Clone { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | match self.dirty.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/hash_map.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 412 | fn deserialize(deserializer: D) -> Result where D: Deserializer<'de> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | let m = Map::deserialize(deserializer)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 414 | Ok(Self::from(m)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/btree_map.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn insert(&self, k: K, v: V) -> Option where K: Clone + std::cmp::Ord { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | match self.dirty.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/map/btree_map.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 399 | fn deserialize(deserializer: D) -> Result where D: Deserializer<'de> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let m = HashMap::deserialize(deserializer)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | Ok(Self::from(m)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/imp_std.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 98 | let f = unsafe { take_unchecked(&mut f) }; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | match f() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/imp_std.rs:256:54 [INFO] [stdout] | [INFO] [stdout] 254 | fn init(&self, f: impl FnOnce() -> T) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | enum Void {} [INFO] [stdout] 256 | let _ = self.initialize(|| Ok::(f())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:416:31 [INFO] [stdout] | [INFO] [stdout] 415 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | OnceCell { inner: UnsafeCell::new(Some(value)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn set(&self, value: T) -> Result<(), T> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | match self.try_insert(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 534 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:534:57 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 534 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:687:26 [INFO] [stdout] | [INFO] [stdout] 686 | pub const fn new(init: F) -> Lazy { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 686 | pub const fn new(init: F) -> Lazy { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:696:13 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn into_value(this: Lazy) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let cell = this.cell; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let init = this.init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 696 | cell.into_inner().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:718:44 [INFO] [stdout] | [INFO] [stdout] 718 | this.cell.get_or_init(|| match this.init.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:906:19 [INFO] [stdout] | [INFO] [stdout] 905 | pub fn set(&self, value: T) -> Result<(), T> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 906 | match self.try_insert(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:967:40 [INFO] [stdout] | [INFO] [stdout] 962 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 967 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:967:57 [INFO] [stdout] | [INFO] [stdout] 962 | pub fn get_or_init(&self, f: F) -> &T [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 967 | match self.get_or_try_init(|| Ok::(f())) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1125:26 [INFO] [stdout] | [INFO] [stdout] 1124 | pub const fn new(f: F) -> Lazy { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1125:49 [INFO] [stdout] | [INFO] [stdout] 1124 | pub const fn new(f: F) -> Lazy { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1125 | Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1134:13 [INFO] [stdout] | [INFO] [stdout] 1131 | pub fn into_value(this: Lazy) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1132 | let cell = this.cell; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1133 | let init = this.init; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1134 | cell.into_inner().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/lazy/mod.rs:1155:44 [INFO] [stdout] | [INFO] [stdout] 1155 | this.cell.get_or_init(|| match this.init.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new_arc(parent: Option>) -> Arc { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Arc::new(Self::new(parent)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | done: AtomicOption::some(r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | children: SyncHashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/std/context/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(parent: Option>) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (s, r) = chan!(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | err: AtomicOption::none(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: aborting due to 98 previous errors; 270 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cogo` (lib test) due to 99 previous errors; 270 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32754866e20db9bfe83f88e4b621de40d1fd76cf1a1a42d3642ba6687c119a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32754866e20db9bfe83f88e4b621de40d1fd76cf1a1a42d3642ba6687c119a28", kill_on_drop: false }` [INFO] [stdout] 32754866e20db9bfe83f88e4b621de40d1fd76cf1a1a42d3642ba6687c119a28