[INFO] fetching crate optimistic_lock_coupling 0.2.5... [INFO] testing optimistic_lock_coupling-0.2.5 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate optimistic_lock_coupling 0.2.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate optimistic_lock_coupling 0.2.5 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 863a7b3d27e14004b34e6fec7e99ceaad3618a6cede5c974126696b44d208211 [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" "863a7b3d27e14004b34e6fec7e99ceaad3618a6cede5c974126696b44d208211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863a7b3d27e14004b34e6fec7e99ceaad3618a6cede5c974126696b44d208211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863a7b3d27e14004b34e6fec7e99ceaad3618a6cede5c974126696b44d208211", kill_on_drop: false }` [INFO] [stdout] 863a7b3d27e14004b34e6fec7e99ceaad3618a6cede5c974126696b44d208211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc62f35d66188a4c7a8100fc63659d91b221a234b623170184a6bddf1087f393 [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" "dc62f35d66188a4c7a8100fc63659d91b221a234b623170184a6bddf1087f393", kill_on_drop: false }` [INFO] [stderr] Compiling optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "dc62f35d66188a4c7a8100fc63659d91b221a234b623170184a6bddf1087f393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc62f35d66188a4c7a8100fc63659d91b221a234b623170184a6bddf1087f393", kill_on_drop: false }` [INFO] [stdout] dc62f35d66188a4c7a8100fc63659d91b221a234b623170184a6bddf1087f393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5271bc81478b27dcd09d2649abcc88bdfa661271207a66c2ec359c226e82767e [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" "5271bc81478b27dcd09d2649abcc88bdfa661271207a66c2ec359c226e82767e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion v0.3.5 [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> = 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "5271bc81478b27dcd09d2649abcc88bdfa661271207a66c2ec359c226e82767e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5271bc81478b27dcd09d2649abcc88bdfa661271207a66c2ec359c226e82767e", kill_on_drop: false }` [INFO] [stdout] 5271bc81478b27dcd09d2649abcc88bdfa661271207a66c2ec359c226e82767e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83bddc8048b69e32760f71df8e9cba79ed9aaa54b41b8ae958aedd97e1abeb3d [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" "83bddc8048b69e32760f71df8e9cba79ed9aaa54b41b8ae958aedd97e1abeb3d", 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> = 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: `optimistic_lock_coupling` (lib test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/optimistic_lock_coupling-cdbfba581cdf657f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::write_lock ... ok [INFO] [stdout] test test::read_lock ... ok [INFO] [stdout] test test::read_while_write - should panic ... ok [INFO] [stderr] Doc-tests optimistic_lock_coupling [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] [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] [stderr] error: test failed, to rerun pass '--doc' [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] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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 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 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "83bddc8048b69e32760f71df8e9cba79ed9aaa54b41b8ae958aedd97e1abeb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83bddc8048b69e32760f71df8e9cba79ed9aaa54b41b8ae958aedd97e1abeb3d", kill_on_drop: false }` [INFO] [stdout] 83bddc8048b69e32760f71df8e9cba79ed9aaa54b41b8ae958aedd97e1abeb3d