[INFO] cloning repository https://github.com/stencillogic/db-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stencillogic/db-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 430290dcdfef62484c5105f52f176ecd01fc421b [INFO] checking stencillogic/db-core against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stencillogic/db-core on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stencillogic/db-core [INFO] finished tweaking git repo https://github.com/stencillogic/db-core [INFO] tweaked toml for git repo https://github.com/stencillogic/db-core written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/stencillogic/db-core already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c431cb2974cbdd309c1c7826f67007c9518309beb007a34d538cb9f52dea39ca [INFO] running `Command { std: "docker" "start" "-a" "c431cb2974cbdd309c1c7826f67007c9518309beb007a34d538cb9f52dea39ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c431cb2974cbdd309c1c7826f67007c9518309beb007a34d538cb9f52dea39ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c431cb2974cbdd309c1c7826f67007c9518309beb007a34d538cb9f52dea39ca", kill_on_drop: false }` [INFO] [stdout] c431cb2974cbdd309c1c7826f67007c9518309beb007a34d538cb9f52dea39ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38f55747aac84f09b9b8bae8cedd6b0f01b4123f306d4fb42da250213f3d2c7a [INFO] running `Command { std: "docker" "start" "-a" "38f55747aac84f09b9b8bae8cedd6b0f01b4123f306d4fb42da250213f3d2c7a", kill_on_drop: false }` [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking db-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/system/config.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / gen_config![log_dir, String, "trnlog".to_owned(), get_log_dir, set_log_dir, "log_dir", Config::load_string, [INFO] [stdout] 142 | | datastore_path, String, ".".to_owned(), get_datastore_path, set_datastore_path, "datastore_path", Config::load_stri... [INFO] [stdout] 143 | | max_log_file_size, u32, 10*1024*1024, get_max_log_file_size, set_max_log_file_size, "max_log_file_size", Config::load_u32_v... [INFO] [stdout] 144 | | log_writer_buf_size, u32, 1048576, get_log_writer_buf_size, set_log_writer_buf_size, "log_writer_buf_size", Config::load_u32... [INFO] [stdout] ... | [INFO] [stdout] 155 | | block_fill_ratio, u32, 80, get_block_fill_ratio, set_block_fill_ratio, "block_fill_ratio", Config::load_u32_v... [INFO] [stdout] 156 | | writer_num, u32, 2, get_writer_num, set_writer_num, "writer_num", Config::load_u32_val]; [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:206:67 [INFO] [stdout] | [INFO] [stdout] 206 | IncorrectLayout , incorrect_layout , std::alloc::LayoutErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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/common/intercom.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/system/config.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / gen_config![log_dir, String, "trnlog".to_owned(), get_log_dir, set_log_dir, "log_dir", Config::load_string, [INFO] [stdout] 142 | | datastore_path, String, ".".to_owned(), get_datastore_path, set_datastore_path, "datastore_path", Config::load_stri... [INFO] [stdout] 143 | | max_log_file_size, u32, 10*1024*1024, get_max_log_file_size, set_max_log_file_size, "max_log_file_size", Config::load_u32_v... [INFO] [stdout] 144 | | log_writer_buf_size, u32, 1048576, get_log_writer_buf_size, set_log_writer_buf_size, "log_writer_buf_size", Config::load_u32... [INFO] [stdout] ... | [INFO] [stdout] 155 | | block_fill_ratio, u32, 80, get_block_fill_ratio, set_block_fill_ratio, "block_fill_ratio", Config::load_u32_v... [INFO] [stdout] 156 | | writer_num, u32, 2, get_writer_num, set_writer_num, "writer_num", Config::load_u32_val]; [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `warn` (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::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [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/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [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/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/log_mgr/log_mgr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block_mgr::block::BasicBlock` [INFO] [stdout] --> src/storage/block_driver.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | use crate::block_mgr::block::BasicBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/system/instance.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | use super::*; [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/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log_mgr/buf.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | let cur_acq_size = self.acquire_size.0.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log_mgr/buf.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | let cur_acq_size = self.acquire_size.0.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:206:67 [INFO] [stdout] | [INFO] [stdout] 206 | IncorrectLayout , incorrect_layout , std::alloc::LayoutErr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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/common/intercom.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [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/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [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/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [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/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [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/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [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/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log_mgr/buf.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | let cur_acq_size = self.acquire_size.0.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log_mgr/buf.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | let cur_acq_size = self.acquire_size.0.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db-core` [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [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/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "38f55747aac84f09b9b8bae8cedd6b0f01b4123f306d4fb42da250213f3d2c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f55747aac84f09b9b8bae8cedd6b0f01b4123f306d4fb42da250213f3d2c7a", kill_on_drop: false }` [INFO] [stdout] 38f55747aac84f09b9b8bae8cedd6b0f01b4123f306d4fb42da250213f3d2c7a