[INFO] fetching crate optimistic_lock_coupling 0.2.5...
[INFO] testing optimistic_lock_coupling-0.2.5 against nightly-2025-01-18 for randomize-layout-2
[INFO] extracting crate optimistic_lock_coupling 0.2.5 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate optimistic_lock_coupling 0.2.5 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate optimistic_lock_coupling 0.2.5
[INFO] finished tweaking crates.io crate optimistic_lock_coupling 0.2.5
[INFO] tweaked toml for crates.io crate optimistic_lock_coupling 0.2.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 71 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.3.6 (available: v0.5.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc5ddb6ab8c19301a70d0948c3e3595e416f734561d5533dc20a21873ffadeac
[INFO] running `Command { std: "docker" "start" "-a" "fc5ddb6ab8c19301a70d0948c3e3595e416f734561d5533dc20a21873ffadeac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc5ddb6ab8c19301a70d0948c3e3595e416f734561d5533dc20a21873ffadeac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc5ddb6ab8c19301a70d0948c3e3595e416f734561d5533dc20a21873ffadeac", kill_on_drop: false }`
[INFO] [stdout] fc5ddb6ab8c19301a70d0948c3e3595e416f734561d5533dc20a21873ffadeac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4a16e936ecad1c0d4bc8f4b28d3661dcb41c076f440bf422040a6915ef07b35
[INFO] running `Command { std: "docker" "start" "-a" "a4a16e936ecad1c0d4bc8f4b28d3661dcb41c076f440bf422040a6915ef07b35", kill_on_drop: false }`
[INFO] [stderr]    Compiling optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "a4a16e936ecad1c0d4bc8f4b28d3661dcb41c076f440bf422040a6915ef07b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4a16e936ecad1c0d4bc8f4b28d3661dcb41c076f440bf422040a6915ef07b35", kill_on_drop: false }`
[INFO] [stdout] a4a16e936ecad1c0d4bc8f4b28d3661dcb41c076f440bf422040a6915ef07b35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd0d41ca86377e07c5eb0c8f848c14ffc815734506a10f146d0898e89dcc3d91
[INFO] running `Command { std: "docker" "start" "-a" "cd0d41ca86377e07c5eb0c8f848c14ffc815734506a10f146d0898e89dcc3d91", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling csv-core v0.1.11
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling criterion-plot v0.4.5
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling criterion v0.3.6
[INFO] [stderr]    Compiling optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/test.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     std::thread::sleep_ms(5000);
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> src/test.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     static mut lock: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |                ^^^^ help: convert the identifier to upper case: `LOCK`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/test.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&lock).as_ref().unwrap().write() {
[INFO] [stdout]    |                           ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&raw const lock).as_ref().unwrap().write() {
[INFO] [stdout]    |                            ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/test.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let read = lock.as_ref().unwrap().read().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.57s
[INFO] running `Command { std: "docker" "inspect" "cd0d41ca86377e07c5eb0c8f848c14ffc815734506a10f146d0898e89dcc3d91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd0d41ca86377e07c5eb0c8f848c14ffc815734506a10f146d0898e89dcc3d91", kill_on_drop: false }`
[INFO] [stdout] cd0d41ca86377e07c5eb0c8f848c14ffc815734506a10f146d0898e89dcc3d91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 54fdb006803c71b53484ebcc80ed493889ec7d5f33ee6014cc6b33eb45103d90
[INFO] running `Command { std: "docker" "start" "-a" "54fdb006803c71b53484ebcc80ed493889ec7d5f33ee6014cc6b33eb45103d90", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stderr]   --> src/test.rs:63:18
[INFO] [stderr]    |
[INFO] [stderr] 63 |     std::thread::sleep_ms(5000);
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `lock` should have an upper case name
[INFO] [stderr]   --> src/test.rs:37:16
[INFO] [stderr]    |
[INFO] [stderr] 37 |     static mut lock: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stderr]    |                ^^^^ help: convert the identifier to upper case: `LOCK`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/test.rs:44:27
[INFO] [stderr]    |
[INFO] [stderr] 44 |                     match (&lock).as_ref().unwrap().write() {
[INFO] [stderr]    |                           ^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 44 |                     match (&raw const lock).as_ref().unwrap().write() {
[INFO] [stderr]    |                            ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/test.rs:65:20
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let read = lock.as_ref().unwrap().read().unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `optimistic_lock_coupling` (lib test) generated 4 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optimistic_lock_coupling-7fa126f465f940c7)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test test::read_lock ... ok
[INFO] [stdout] test test::write_lock ... ok
[INFO] [stdout] test test::read_while_write - should panic ... ok
[INFO] [stdout] test test::lots_thread_write ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests optimistic_lock_coupling
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 47) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 15) ... ok
[INFO] [stdout] test src/lib.rs - (line 63) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OptimisticLockCoupling`
[INFO] [stdout]  --> src/lib.rs:49:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let lock = OptimisticLockCoupling::new(1);
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OptimisticLockCoupling`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use optimistic_lock_coupling::OptimisticLockCoupling;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 47)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "54fdb006803c71b53484ebcc80ed493889ec7d5f33ee6014cc6b33eb45103d90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54fdb006803c71b53484ebcc80ed493889ec7d5f33ee6014cc6b33eb45103d90", kill_on_drop: false }`
[INFO] [stdout] 54fdb006803c71b53484ebcc80ed493889ec7d5f33ee6014cc6b33eb45103d90
