[INFO] fetching crate cachedb 0.8.2... [INFO] checking cachedb-0.8.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cachedb 0.8.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cachedb 0.8.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c28dac8ed5a975b789d2b6511edae38fc4344a2708a557feed0a02a205215f76 [INFO] running `Command { std: "docker" "start" "-a" "c28dac8ed5a975b789d2b6511edae38fc4344a2708a557feed0a02a205215f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c28dac8ed5a975b789d2b6511edae38fc4344a2708a557feed0a02a205215f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28dac8ed5a975b789d2b6511edae38fc4344a2708a557feed0a02a205215f76", kill_on_drop: false }` [INFO] [stdout] c28dac8ed5a975b789d2b6511edae38fc4344a2708a557feed0a02a205215f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1e942840380e9add684d5315ada7d3ce34d2962bd4df1b9518e4f2c812232b3 [INFO] running `Command { std: "docker" "start" "-a" "d1e942840380e9add684d5315ada7d3ce34d2962bd4df1b9518e4f2c812232b3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking parking_method v0.4.0 [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 ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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-17185218640329131550.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" "d1e942840380e9add684d5315ada7d3ce34d2962bd4df1b9518e4f2c812232b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e942840380e9add684d5315ada7d3ce34d2962bd4df1b9518e4f2c812232b3", kill_on_drop: false }` [INFO] [stdout] d1e942840380e9add684d5315ada7d3ce34d2962bd4df1b9518e4f2c812232b3