[INFO] fetching crate os-sync 0.3.3... [INFO] testing os-sync-0.3.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate os-sync 0.3.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate os-sync 0.3.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate os-sync 0.3.3 [INFO] finished tweaking crates.io crate os-sync 0.3.3 [INFO] tweaked toml for crates.io crate os-sync 0.3.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee386d4cb8a062f6ee2a2b33ad2435b6f8eb9c6a66955c77e4cee555e8db659b [INFO] running `Command { std: "docker" "start" "-a" "ee386d4cb8a062f6ee2a2b33ad2435b6f8eb9c6a66955c77e4cee555e8db659b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee386d4cb8a062f6ee2a2b33ad2435b6f8eb9c6a66955c77e4cee555e8db659b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee386d4cb8a062f6ee2a2b33ad2435b6f8eb9c6a66955c77e4cee555e8db659b", kill_on_drop: false }` [INFO] [stdout] ee386d4cb8a062f6ee2a2b33ad2435b6f8eb9c6a66955c77e4cee555e8db659b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b4b3e479b1d8633db6a3bad7a33766208f276f800116b39aba0dccaab1d2de0 [INFO] running `Command { std: "docker" "start" "-a" "0b4b3e479b1d8633db6a3bad7a33766208f276f800116b39aba0dccaab1d2de0", kill_on_drop: false }` [INFO] [stderr] Compiling str-buf v1.0.5 [INFO] [stderr] Compiling error-code v2.3.1 [INFO] [stderr] Compiling os-sync v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::convert::TryFrom` [INFO] [stdout] --> src/sem/posix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/once.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | core::sync::atomic::spin_loop_hint(); [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/once.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | if INCOMPLETE != self.state.compare_and_swap(INCOMPLETE, RUNNING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex/sem.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | if self.count.compare_and_swap(0, 1, Ordering::AcqRel) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: atomic stores cannot have `Acquire` or `AcqRel` ordering [INFO] [stdout] --> src/once.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | self.state.store(FAIL, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_atomic_ordering)]` on by default [INFO] [stdout] = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(FAIL_MSG) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", FAIL_MSG) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!(FAIL_MSG), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!("{}", FAIL_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | ... panic!(FAIL_MSG); [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | panic!("{}", FAIL_MSG); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "0b4b3e479b1d8633db6a3bad7a33766208f276f800116b39aba0dccaab1d2de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4b3e479b1d8633db6a3bad7a33766208f276f800116b39aba0dccaab1d2de0", kill_on_drop: false }` [INFO] [stdout] 0b4b3e479b1d8633db6a3bad7a33766208f276f800116b39aba0dccaab1d2de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d550394130db8568cdce7e35528db070c470990f3efed440061a555e53cf5efe [INFO] running `Command { std: "docker" "start" "-a" "d550394130db8568cdce7e35528db070c470990f3efed440061a555e53cf5efe", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `core::convert::TryFrom` [INFO] [stdout] --> src/sem/posix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/once.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | core::sync::atomic::spin_loop_hint(); [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/once.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | if INCOMPLETE != self.state.compare_and_swap(INCOMPLETE, RUNNING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex/sem.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | if self.count.compare_and_swap(0, 1, Ordering::AcqRel) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: atomic stores cannot have `Acquire` or `AcqRel` ordering [INFO] [stdout] --> src/once.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | self.state.store(FAIL, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_atomic_ordering)]` on by default [INFO] [stdout] = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(FAIL_MSG) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", FAIL_MSG) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!(FAIL_MSG), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!("{}", FAIL_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | ... panic!(FAIL_MSG); [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | panic!("{}", FAIL_MSG); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling os-sync v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::convert::TryFrom` [INFO] [stdout] --> src/sem/posix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/once.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | core::sync::atomic::spin_loop_hint(); [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/once.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | if INCOMPLETE != self.state.compare_and_swap(INCOMPLETE, RUNNING, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex/sem.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | if self.count.compare_and_swap(0, 1, Ordering::AcqRel) > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: atomic stores cannot have `Acquire` or `AcqRel` ordering [INFO] [stdout] --> src/once.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | self.state.store(FAIL, Ordering::Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_atomic_ordering)]` on by default [INFO] [stdout] = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | panic!(FAIL_MSG) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 82 | panic!("{}", FAIL_MSG) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!(FAIL_MSG), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 90 | FAIL => panic!("{}", FAIL_MSG), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/once.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | ... panic!(FAIL_MSG); [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | panic!("{}", FAIL_MSG); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "d550394130db8568cdce7e35528db070c470990f3efed440061a555e53cf5efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d550394130db8568cdce7e35528db070c470990f3efed440061a555e53cf5efe", kill_on_drop: false }` [INFO] [stdout] d550394130db8568cdce7e35528db070c470990f3efed440061a555e53cf5efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 401f4b524b8ab21bb9ba6c116405efd70af75d217f5c7c236514dddb4ca1cb09 [INFO] running `Command { std: "docker" "start" "-a" "401f4b524b8ab21bb9ba6c116405efd70af75d217f5c7c236514dddb4ca1cb09", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `core::convert::TryFrom` [INFO] [stderr] --> src/sem/posix.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/once.rs:125:45 [INFO] [stderr] | [INFO] [stderr] 125 | core::sync::atomic::spin_loop_hint(); [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/once.rs:92:49 [INFO] [stderr] | [INFO] [stderr] 92 | if INCOMPLETE != self.state.compare_and_swap(INCOMPLETE, RUNNING, Ordering::Acquire) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/mutex/sem.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | if self.count.compare_and_swap(0, 1, Ordering::AcqRel) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: atomic stores cannot have `Acquire` or `AcqRel` ordering [INFO] [stderr] --> src/once.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | self.state.store(FAIL, Ordering::Acquire); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_atomic_ordering)]` on by default [INFO] [stderr] = help: consider using ordering modes `Release`, `SeqCst` or `Relaxed` [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/once.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 82 | panic!(FAIL_MSG) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 82 | panic!("{}", FAIL_MSG) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/once.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | FAIL => panic!(FAIL_MSG), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 90 | FAIL => panic!("{}", FAIL_MSG), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/once.rs:121:36 [INFO] [stderr] | [INFO] [stderr] 121 | ... panic!(FAIL_MSG); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 121 | panic!("{}", FAIL_MSG); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `os-sync` (lib) generated 8 warnings [INFO] [stderr] warning: `os-sync` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/os_sync-b6bb3f607ae79119) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mutex.rs (/opt/rustwide/target/debug/deps/mutex-be8efd7cac5de37b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test should_lock_sem_mutex_without_contest ... ok [INFO] [stdout] test should_lock_sem_mutex_with_contest ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/once.rs (/opt/rustwide/target/debug/deps/once-c070fdc3187090fd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test should_call_once1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/sem.rs (/opt/rustwide/target/debug/deps/sem-8a8bc49632a27f31) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test should_return_when_signaled ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests os-sync [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "401f4b524b8ab21bb9ba6c116405efd70af75d217f5c7c236514dddb4ca1cb09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401f4b524b8ab21bb9ba6c116405efd70af75d217f5c7c236514dddb4ca1cb09", kill_on_drop: false }` [INFO] [stdout] 401f4b524b8ab21bb9ba6c116405efd70af75d217f5c7c236514dddb4ca1cb09