[INFO] cloning repository https://github.com/Quickesthenry/basic-mutex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Quickesthenry/basic-mutex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuickesthenry%2Fbasic-mutex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuickesthenry%2Fbasic-mutex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 186676d44c75d9bcddfebaba8509e9707f32e4e7 [INFO] testing Quickesthenry/basic-mutex against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuickesthenry%2Fbasic-mutex" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Quickesthenry/basic-mutex [INFO] finished tweaking git repo https://github.com/Quickesthenry/basic-mutex [INFO] tweaked toml for git repo https://github.com/Quickesthenry/basic-mutex written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Quickesthenry/basic-mutex on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Quickesthenry/basic-mutex already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8 [INFO] running `Command { std: "docker" "start" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling basic-mutex v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.8.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.8.2 [INFO] [stderr] Compiling basic-mutex v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 38.22s [INFO] running `Command { std: "docker" "inspect" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/basic_mutex-3c399818702175d4) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_basic_lock_unlock ... ok [INFO] [stdout] test tests::test_try_lock_failure ... ok [INFO] [stdout] test tests::test_mutual_exclusion ... ok [INFO] [stdout] test tests::test_contended_try_lock ... ok [INFO] [stdout] test tests::test_mixed_contended_lock_and_try_lock ... ok [INFO] [stdout] test tests::test_high_contention_stress ... FAILED [INFO] [stdout] test tests::test_comparative_performance ... ok [INFO] [stdout] test tests::test_contended_try_lock_blocked_by_waiters ... ok [INFO] [stdout] test tests::test_lost_wakeup_torture ... ok [INFO] [stdout] test tests::test_no_reentrancy ... ok [INFO] [stdout] test tests::test_fifo_ordering ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] ---- tests::test_high_contention_stress stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_high_contention_stress' (823) panicked at src/lib.rs:514:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 799 [INFO] [stdout] right: 800 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57fa25d505f1 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stdout] 1: 0x57fa25d647ca - core[7c831bd917ebf35f]::fmt::write [INFO] [stdout] 2: 0x57fa25d54a8c - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x57fa25d2c9a6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x57fa25d48ad9 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stdout] 5: 0x57fa25ce4f90 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x57fa25d48c92 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stdout] 7: 0x57fa25d2ca52 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x57fa25d253f9 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x57fa25d2d64d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stdout] 10: 0x57fa25d64efc - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stdout] 11: 0x57fa25d64e13 - core[7c831bd917ebf35f]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x57fa25d24a95 - core[7c831bd917ebf35f]::panicking::assert_failed:: [INFO] [stdout] 13: 0x57fa25ccfacb - basic_mutex[6afd722790849719]::tests::test_high_contention_stress [INFO] [stdout] 14: 0x57fa25ccc399 - >::call_once [INFO] [stdout] 15: 0x57fa25cd827b - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stdout] 16: 0x57fa25ce58e5 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stdout] 17: 0x57fa25cdeca4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 18: 0x57fa25ce8a42 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 19: 0x57fa25d4fe99 - ::new::thread_start [INFO] [stdout] 20: 0x700efcd1507a - [INFO] [stdout] 21: 0x700efcda8534 - clone [INFO] [stdout] 22: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_high_contention_stress [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8", kill_on_drop: false }` [INFO] [stdout] 213348cbd163123db7c5ef62b635de34a7e305b9050844ebb592bc1bd0b69cd8