[INFO] fetching crate sled 0.34.6... [INFO] checking sled-0.34.6 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate sled 0.34.6 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate sled 0.34.6 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 sled 0.34.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sled 0.34.6 [INFO] tweaked toml for crates.io crate sled 0.34.6 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate sled 0.34.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addr2line v0.14.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded syn v1.0.34 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded backtrace v0.3.54 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded zstd v0.5.3+zstd.1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 1723e39a4850b4dd929433efa3e28aa07d7515d5fa7d3a7019449e8a557da9ca [INFO] running `Command { std: "docker" "start" "-a" "1723e39a4850b4dd929433efa3e28aa07d7515d5fa7d3a7019449e8a557da9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1723e39a4850b4dd929433efa3e28aa07d7515d5fa7d3a7019449e8a557da9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1723e39a4850b4dd929433efa3e28aa07d7515d5fa7d3a7019449e8a557da9ca", kill_on_drop: false }` [INFO] [stdout] 1723e39a4850b4dd929433efa3e28aa07d7515d5fa7d3a7019449e8a557da9ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 7be79eb4b317dc37b6006e2fddcc9aed5dec2e8cf15bcab5b6012f86fb6c6e10 [INFO] running `Command { std: "docker" "start" "-a" "7be79eb4b317dc37b6006e2fddcc9aed5dec2e8cf15bcab5b6012f86fb6c6e10", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] log v0.4.11: std [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking sled v0.34.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pagecache/iterator.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | std::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 `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/fastlock.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let lock_result = self.lock.compare_and_swap(false, true, Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [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/lru.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | self.writing.compare_and_swap(head, new, Ordering::Release); [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/lru.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | ret = self.full_list.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/mod.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let last = atomic_lsn.compare_and_swap(current, to, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree.rs:1552:29 [INFO] [stdout] | [INFO] [stdout] 1552 | while self.root.compare_and_swap(from, new_root_pid, SeqCst) != from [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | if !SPAWNING.compare_and_swap(false, true, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if !E.compare_and_swap(false, true, Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Migrating tests/test_space_leaks.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_tree_failpoints.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_tree.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_log.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_quiescent.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_crash_recovery.rs from 2018 edition to 2021 [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sled` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | let log = &db.context.pagecache.log; [INFO] [stdout] | -------------------- in Rust 2018, this closure captures all of `db`, but in Rust 2021, it will only capture `db.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db` is dropped here, but in Rust 2021, only `db.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db` to be fully captured [INFO] [stdout] | [INFO] [stdout] 137 ~ .spawn(move || { [INFO] [stdout] 138 + let _ = &db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 153 | let log = &db2.context.pagecache.log; [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `db2`, but in Rust 2021, it will only capture `db2.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db2` is dropped here, but in Rust 2021, only `db2.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db2` to be fully captured [INFO] [stdout] | [INFO] [stdout] 152 ~ .spawn(move || { [INFO] [stdout] 153 + let _ = &db2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 168 | let log = &db3.context.pagecache.log; [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `db3`, but in Rust 2021, it will only capture `db3.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db3` is dropped here, but in Rust 2021, only `db3.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db3` to be fully captured [INFO] [stdout] | [INFO] [stdout] 167 ~ .spawn(move || { [INFO] [stdout] 168 + let _ = &db3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 183 | let log = &db4.context.pagecache.log; [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `db4`, but in Rust 2021, it will only capture `db4.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db4` is dropped here, but in Rust 2021, only `db4.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db4` to be fully captured [INFO] [stdout] | [INFO] [stdout] 182 ~ .spawn(move || { [INFO] [stdout] 183 + let _ = &db4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 197 | let log = &db5.context.pagecache.log; [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `db5`, but in Rust 2021, it will only capture `db5.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db5` is dropped here, but in Rust 2021, only `db5.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db5` to be fully captured [INFO] [stdout] | [INFO] [stdout] 196 ~ .spawn(move || { [INFO] [stdout] 197 + let _ = &db5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> tests/test_log.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 212 | let log = &db6.context.pagecache.log; [INFO] [stdout] | --------------------- in Rust 2018, this closure captures all of `db6`, but in Rust 2021, it will only capture `db6.context.pagecache` [INFO] [stdout] ... [INFO] [stdout] 232 | } [INFO] [stdout] | - in Rust 2018, `db6` is dropped here, but in Rust 2021, only `db6.context.pagecache` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `db6` to be fully captured [INFO] [stdout] | [INFO] [stdout] 211 ~ .spawn(move || { [INFO] [stdout] 212 + let _ = &db6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: please run tests using the "testing" feature, which enables additional checks at runtime and causes more race conditions to jump out by inserting delays in concurrent code. [INFO] [stdout] --> tests/common/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / compile_error!( [INFO] [stdout] 3 | | "please run tests using the \"testing\" feature, \ [INFO] [stdout] 4 | | which enables additional checks at runtime and \ [INFO] [stdout] 5 | | causes more race conditions to jump out by \ [INFO] [stdout] 6 | | inserting delays in concurrent code." [INFO] [stdout] 7 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/serialization.rs (2 fixes) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pagecache/iterator.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | std::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 `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/concurrency_control.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | std::sync::atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/fastlock.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let lock_result = self.lock.compare_and_swap(false, true, Acquire); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lazy.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | while self.init_mu.compare_and_swap(false, true, SeqCst) {} [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/lru.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | self.writing.compare_and_swap(head, new, Ordering::Release); [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/lru.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | ret = self.full_list.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/mod.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let last = atomic_lsn.compare_and_swap(current, to, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pagecache/iobuf.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | let res = self.header.compare_and_swap(old, new, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree.rs:1552:29 [INFO] [stdout] | [INFO] [stdout] 1552 | while self.root.compare_and_swap(from, new_root_pid, SeqCst) != from [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | if !SPAWNING.compare_and_swap(false, true, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/threadpool.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if !E.compare_and_swap(false, true, Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7be79eb4b317dc37b6006e2fddcc9aed5dec2e8cf15bcab5b6012f86fb6c6e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be79eb4b317dc37b6006e2fddcc9aed5dec2e8cf15bcab5b6012f86fb6c6e10", kill_on_drop: false }` [INFO] [stdout] 7be79eb4b317dc37b6006e2fddcc9aed5dec2e8cf15bcab5b6012f86fb6c6e10