[INFO] fetching crate cachedb 0.8.2... [INFO] checking cachedb-0.8.2 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate cachedb 0.8.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cachedb 0.8.2 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cachedb 0.8.2 [INFO] finished tweaking crates.io crate cachedb 0.8.2 [INFO] tweaked toml for crates.io crate cachedb 0.8.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_method v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46492250aed609eb090dd5176720f7a2c5346aeb6b97afd978fb57300e50f764 [INFO] running `Command { std: "docker" "start" "-a" "46492250aed609eb090dd5176720f7a2c5346aeb6b97afd978fb57300e50f764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46492250aed609eb090dd5176720f7a2c5346aeb6b97afd978fb57300e50f764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46492250aed609eb090dd5176720f7a2c5346aeb6b97afd978fb57300e50f764", kill_on_drop: false }` [INFO] [stdout] 46492250aed609eb090dd5176720f7a2c5346aeb6b97afd978fb57300e50f764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e33097085b5d17c9460835f8f394f2b153a188de636473700c99837c6354d6c [INFO] running `Command { std: "docker" "start" "-a" "7e33097085b5d17c9460835f8f394f2b153a188de636473700c99837c6354d6c", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_method v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking cachedb v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:184:80 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:219:85 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_mut<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn get_or_insert<'a, M, F>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 318 | ) -> DynResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:369:35 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn get_or_insert_mut<'a, M, F>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 369 | ) -> DynResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:184:80 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:219:85 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_mut<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn get_or_insert<'a, M, F>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 318 | ) -> DynResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:369:35 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn get_or_insert_mut<'a, M, F>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 369 | ) -> DynResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell>>` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:1150:25 [INFO] [stdout] | [INFO] [stdout] 1148 | .spawn( [INFO] [stdout] | ----- required by a bound introduced by this call [INFO] [stdout] 1149 | // The per thread function [INFO] [stdout] 1150 | / move || { [INFO] [stdout] 1151 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 1152 | | c.wait(); [INFO] [stdout] ... | [INFO] [stdout] 1250 | | drop(locked); [INFO] [stdout] 1251 | | }, [INFO] [stdout] | |_________________________^ `Cell>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `entry::Entry`, the trait `Sync` is not implemented for `Cell>>`, which is required by `{closure@src/lib.rs:1150:25: 1150:32}: Send` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `LinkedListLink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/intrusive-collections-0.9.7/src/linked_list.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `entry::Entry` [INFO] [stdout] --> src/entry.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: required for `UnsafeRef>` to implement `Send` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `intrusive_collections::LinkedList>` to implement `Send` [INFO] [stdout] = note: required for `lock_api::mutex::Mutex>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `ManuallyDrop>>>` [INFO] [stdout] --> /rustc/38352b01ae4af9300be03b805d6db68c45e51068/library/core/src/mem/manually_drop.rs:51:12 [INFO] [stdout] note: required because it appears within the type `Bucket` [INFO] [stdout] --> src/bucket.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct Bucket [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: required because it appears within the type `[Bucket; 64]` [INFO] [stdout] note: required because it appears within the type `CacheDb` [INFO] [stdout] --> src/lib.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CacheDb [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `Arc>` to implement `Send` [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> src/lib.rs:1150:25 [INFO] [stdout] | [INFO] [stdout] 1150 | move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required by a bound in `std::thread::Builder::spawn` [INFO] [stdout] --> /rustc/38352b01ae4af9300be03b805d6db68c45e51068/library/std/src/thread/mod.rs:369:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cachedb` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e33097085b5d17c9460835f8f394f2b153a188de636473700c99837c6354d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e33097085b5d17c9460835f8f394f2b153a188de636473700c99837c6354d6c", kill_on_drop: false }` [INFO] [stdout] 7e33097085b5d17c9460835f8f394f2b153a188de636473700c99837c6354d6c