[INFO] cloning repository https://github.com/pitdicker/valet_parking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pitdicker/valet_parking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitdicker%2Fvalet_parking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitdicker%2Fvalet_parking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46b460a34cef2395eead1e69c241d2651bf8a830 [INFO] checking pitdicker/valet_parking against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpitdicker%2Fvalet_parking" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pitdicker/valet_parking on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pitdicker/valet_parking [INFO] finished tweaking git repo https://github.com/pitdicker/valet_parking [INFO] tweaked toml for git repo https://github.com/pitdicker/valet_parking written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0035f513d1f07da0df5c21774cb59170ca9b316d2cc7790e2933e2acfc9960f6 [INFO] running `Command { std: "docker" "start" "-a" "0035f513d1f07da0df5c21774cb59170ca9b316d2cc7790e2933e2acfc9960f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0035f513d1f07da0df5c21774cb59170ca9b316d2cc7790e2933e2acfc9960f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0035f513d1f07da0df5c21774cb59170ca9b316d2cc7790e2933e2acfc9960f6", kill_on_drop: false }` [INFO] [stdout] 0035f513d1f07da0df5c21774cb59170ca9b316d2cc7790e2933e2acfc9960f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48a9ffe4b1f26288534dd3013b194bf10c282a42e66dc3d4a57faae923198f69 [INFO] running `Command { std: "docker" "start" "-a" "48a9ffe4b1f26288534dd3013b194bf10c282a42e66dc3d4a57faae923198f69", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking valet_parking v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let old = atomic.compare_and_swap(expected, expected | HAS_WAITERS, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let old = atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | let old = atomic.compare_and_swap(current, current | ptr, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | atomic.compare_and_swap(current, current & !RESERVED_MASK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/waiter_queue.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let old = atomic.compare_and_swap(current, me, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let old = atomic.compare_and_swap(expected, expected | HAS_WAITERS, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let old = atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | let old = atomic.compare_and_swap(current, current | ptr, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | atomic.compare_and_swap(current, current & !RESERVED_MASK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/waiter_queue.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let old = atomic.compare_and_swap(current, me, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/test_synchronization.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> examples/test_synchronization.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | .compare_and_swap(state, RUNNING, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.25s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking valet_parking v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let old = atomic.compare_and_swap(expected, expected | HAS_WAITERS, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let old = atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let old = atomic.compare_and_swap(expected, expected | HAS_WAITERS, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/futex/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let old = atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `core::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | let old = atomic.compare_and_swap(current, current | ptr, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | imp_futex!(AtomicU32, u32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicU32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | atomic.compare_and_swap(current, current & !RESERVED_MASK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/futex/linux.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr = self.as_mut_ptr() as *mut i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | imp_futex!(AtomicI32, i32); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `AtomicAsMutPtr::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(atomic_mut_ptr)]` to the crate attributes to enable `std::sync::atomic::AtomicI32::as_mut_ptr` [INFO] [stdout] = note: this warning originates in the macro `imp_futex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/waiter_queue.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let old = atomic.compare_and_swap(current, me, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | let old = atomic.compare_and_swap(current, current | ptr, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/posix.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | atomic.compare_and_swap(current, current & !RESERVED_MASK, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/waiter_queue.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let old = atomic.compare_and_swap(current, me, Ordering::Release); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> examples/test_synchronization.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | .compare_and_swap(state, RUNNING, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "48a9ffe4b1f26288534dd3013b194bf10c282a42e66dc3d4a57faae923198f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a9ffe4b1f26288534dd3013b194bf10c282a42e66dc3d4a57faae923198f69", kill_on_drop: false }` [INFO] [stdout] 48a9ffe4b1f26288534dd3013b194bf10c282a42e66dc3d4a57faae923198f69