[INFO] fetching crate cachedb 0.8.2... [INFO] checking cachedb-0.8.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cachedb 0.8.2 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cachedb 0.8.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c33b1637ad96ce66d6678214171c7aa7ebc1c6750a51c97727455623140f463a [INFO] running `Command { std: "docker" "start" "-a" "c33b1637ad96ce66d6678214171c7aa7ebc1c6750a51c97727455623140f463a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c33b1637ad96ce66d6678214171c7aa7ebc1c6750a51c97727455623140f463a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33b1637ad96ce66d6678214171c7aa7ebc1c6750a51c97727455623140f463a", kill_on_drop: false }` [INFO] [stdout] c33b1637ad96ce66d6678214171c7aa7ebc1c6750a51c97727455623140f463a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246e7b6d6f6855e51ae9cac7554966a26d246d9f4931cdc73cf2b9e83c7e0936 [INFO] running `Command { std: "docker" "start" "-a" "246e7b6d6f6855e51ae9cac7554966a26d246d9f4931cdc73cf2b9e83c7e0936", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking parking_method v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cachedb v0.8.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | ^^ the lifetime is named here ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_mut<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | ^^ the lifetime is named here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_mut<'a, M>(&'a self, method: M, key: &K) -> DynResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 252 | (&Bucket, *const Entry), [INFO] [stdout] | ------------- the same lifetime is elided here [INFO] [stdout] 253 | ( [INFO] [stdout] 254 | &Bucket, [INFO] [stdout] | ------------- the same lifetime is elided here [INFO] [stdout] 255 | *const Entry, [INFO] [stdout] 256 | MutexGuard>>>>, [INFO] [stdout] | ------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | MutexGuard<'_, HashSet>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 318 | ) -> DynResult> [INFO] [stdout] | ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 318 | ) -> DynResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 369 | ) -> DynResult> [INFO] [stdout] | ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 369 | ) -> DynResult> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn lock_map(&self) -> MutexGuard>>>> { [INFO] [stdout] | ^^^^^ ------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub(crate) fn lock_map(&self) -> MutexGuard<'_, HashSet>>>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bucket.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) fn lock_lru(&self) -> MutexGuard>> { [INFO] [stdout] | ^^^^^ ------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) fn lock_lru(&self) -> MutexGuard<'_, LinkedList>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.10.2 [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>>` [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-1949cf8c6b5b557f/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 `Mutex>>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `ManuallyDrop>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/mem/manually_drop.rs:157: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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/std/src/thread/mod.rs:393:5 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cachedb-538eff33ee8b1a49.long-type-926280381595003706.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 1 previous error [INFO] running `Command { std: "docker" "inspect" "246e7b6d6f6855e51ae9cac7554966a26d246d9f4931cdc73cf2b9e83c7e0936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246e7b6d6f6855e51ae9cac7554966a26d246d9f4931cdc73cf2b9e83c7e0936", kill_on_drop: false }` [INFO] [stdout] 246e7b6d6f6855e51ae9cac7554966a26d246d9f4931cdc73cf2b9e83c7e0936