[INFO] fetching crate os-sync 0.3.3... [INFO] checking os-sync-0.3.3 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate os-sync 0.3.3 into /workspace/builds/worker-81/source [INFO] validating manifest of crates.io crate os-sync 0.3.3 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-81/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6667aa448836acab3b2d71e1637481bed6df150a7ee4142f99be34cb8f620705 [INFO] running `Command { std: "docker" "start" "-a" "6667aa448836acab3b2d71e1637481bed6df150a7ee4142f99be34cb8f620705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6667aa448836acab3b2d71e1637481bed6df150a7ee4142f99be34cb8f620705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6667aa448836acab3b2d71e1637481bed6df150a7ee4142f99be34cb8f620705", kill_on_drop: false }` [INFO] [stdout] 6667aa448836acab3b2d71e1637481bed6df150a7ee4142f99be34cb8f620705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c867ce0dbf64b0b069616340326a8c1ddb0bbed65f5eb28ae797456090e24307 [INFO] running `Command { std: "docker" "start" "-a" "c867ce0dbf64b0b069616340326a8c1ddb0bbed65f5eb28ae797456090e24307", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking str-buf v1.0.5 [INFO] [stderr] Checking error-code v2.3.0 [INFO] [stderr] Checking 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: 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 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::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: 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] error: 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: `#[deny(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] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(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] [stderr] error: could not compile `os-sync` due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c867ce0dbf64b0b069616340326a8c1ddb0bbed65f5eb28ae797456090e24307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c867ce0dbf64b0b069616340326a8c1ddb0bbed65f5eb28ae797456090e24307", kill_on_drop: false }` [INFO] [stdout] c867ce0dbf64b0b069616340326a8c1ddb0bbed65f5eb28ae797456090e24307