[INFO] fetching crate async-timer 1.0.0-beta.7... [INFO] checking async-timer-1.0.0-beta.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate async-timer 1.0.0-beta.7 into /workspace/builds/worker-82/source [INFO] validating manifest of crates.io crate async-timer 1.0.0-beta.7 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 crates.io crate async-timer 1.0.0-beta.7 [INFO] finished tweaking crates.io crate async-timer 1.0.0-beta.7 [INFO] tweaked toml for crates.io crate async-timer 1.0.0-beta.7 written to /workspace/builds/worker-82/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-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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] cc60035580279367cca1cf8cbdae6955a91b82f9319e1d87952ac7258cfccfd1 [INFO] running `Command { std: "docker" "start" "-a" "cc60035580279367cca1cf8cbdae6955a91b82f9319e1d87952ac7258cfccfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc60035580279367cca1cf8cbdae6955a91b82f9319e1d87952ac7258cfccfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc60035580279367cca1cf8cbdae6955a91b82f9319e1d87952ac7258cfccfd1", kill_on_drop: false }` [INFO] [stdout] cc60035580279367cca1cf8cbdae6955a91b82f9319e1d87952ac7258cfccfd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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] 604fa177e31dcda5c559722c4df8233c3b82dcbdbb66d87d82f8aec27a27e92b [INFO] running `Command { std: "docker" "start" "-a" "604fa177e31dcda5c559722c4df8233c3b82dcbdbb66d87d82f8aec27a27e92b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking str-buf v1.0.5 [INFO] [stderr] Compiling async-timer v1.0.0-beta.7 (/tmp/fixit) [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking error-code v2.3.0 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `async_timer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/state.rs [INFO] [stderr] * src/utils.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | assert_time!(timeout); [INFO] [stderr] | ---------------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | assert_time!(new_value); [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | assert_time!(new_value); [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:234:24 [INFO] [stderr] | [INFO] [stderr] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [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::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | assert_time!(timeout); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Migrating tests/timer.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/timed.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/interval.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `async_timer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/state.rs [INFO] [stderr] * src/utils.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | assert_time!(timeout); [INFO] [stderr] | ---------------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | assert_time!(new_value); [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/utils.rs:38:89 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", "{}", "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] | [INFO] [stderr] ::: src/timer/posix.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | assert_time!(new_value); [INFO] [stderr] | ------------------------ [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/state.rs:234:24 [INFO] [stderr] | [INFO] [stderr] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [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::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | assert_time!(timeout); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.82s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling async-timer v1.0.0-beta.7 (/tmp/fixit) [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [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::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | assert_time!(timeout); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking tokio v1.10.0 [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [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::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | match self.state.compare_and_swap(WAITING, REGISTERING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/state.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | if !self.woken.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | assert_time!(timeout); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:38:77 [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/timer/posix.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | assert_time!(new_value); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of debug_assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | debug_assert!(!($time.as_secs() == 0 && $time.subsec_nanos() == 0), "{}", $crate::utils::ZERO_TIME_FAIL); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.98s [INFO] running `Command { std: "docker" "inspect" "604fa177e31dcda5c559722c4df8233c3b82dcbdbb66d87d82f8aec27a27e92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604fa177e31dcda5c559722c4df8233c3b82dcbdbb66d87d82f8aec27a27e92b", kill_on_drop: false }` [INFO] [stdout] 604fa177e31dcda5c559722c4df8233c3b82dcbdbb66d87d82f8aec27a27e92b