[INFO] fetching crate concurrent 0.2.2... [INFO] checking concurrent-0.2.2 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate concurrent 0.2.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate concurrent 0.2.2 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate concurrent 0.2.2 [INFO] finished tweaking crates.io crate concurrent 0.2.2 [INFO] tweaked toml for crates.io crate concurrent 0.2.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4a110199dd376209f682233b79b1f600b808190520e1856fed2a00027db8f8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4a110199dd376209f682233b79b1f600b808190520e1856fed2a00027db8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a110199dd376209f682233b79b1f600b808190520e1856fed2a00027db8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a110199dd376209f682233b79b1f600b808190520e1856fed2a00027db8f8c", kill_on_drop: false }` [INFO] [stdout] d4a110199dd376209f682233b79b1f600b808190520e1856fed2a00027db8f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fdb716678fe2d88d38c3f5b5b493fa5356f835257d9c758751b4622dbf75f40a [INFO] running `Command { std: "docker" "start" "-a" "fdb716678fe2d88d38c3f5b5b493fa5356f835257d9c758751b4622dbf75f40a", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking concurrent v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | if STATE.state() != thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | /// The global state. [INFO] [stdout] 11 | | /// [INFO] [stdout] 12 | | /// This state is shared between all the threads. [INFO] [stdout] 13 | | static ref STATE: State = State::new(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalKeyState` in `thread` [INFO] [stdout] --> src/local.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | if STATE.state() != thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LocalKeyState` in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/atomic.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | if self.inner.compare_and_swap(old as *mut T, new, ordering) as *const T == old { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/atomic.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | self.inner.compare_and_swap(old as *mut T, new, ordering).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | /// The global state. [INFO] [stdout] 11 | | /// [INFO] [stdout] 12 | | /// This state is shared between all the threads. [INFO] [stdout] 13 | | static ref STATE: State = State::new(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/atomic.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | if self.inner.compare_and_swap(old as *mut T, new, ordering) as *const T == old { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/atomic.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | self.inner.compare_and_swap(old as *mut T, new, ordering).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | if STATE.state() != thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync/treiber.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | self.head.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync/treiber.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | self.head.compare_and_swap(next, node, atomic::Ordering::Release).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `concurrent` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | if STATE.state() == thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for struct `LocalKey>` in the current scope [INFO] [stdout] --> src/local.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | if STATE.state() != thread::LocalKeyState::Destroyed { [INFO] [stdout] | ^^^^^ method not found in `LocalKey>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync/treiber.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | self.head.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/sync/treiber.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | self.head.compare_and_swap(next, node, atomic::Ordering::Release).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fdb716678fe2d88d38c3f5b5b493fa5356f835257d9c758751b4622dbf75f40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb716678fe2d88d38c3f5b5b493fa5356f835257d9c758751b4622dbf75f40a", kill_on_drop: false }` [INFO] [stdout] fdb716678fe2d88d38c3f5b5b493fa5356f835257d9c758751b4622dbf75f40a