[INFO] cloning repository https://github.com/devillove084/HierarchicalCache
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devillove084/HierarchicalCache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevillove084%2FHierarchicalCache", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevillove084%2FHierarchicalCache'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e6f95b758dbb9df274075d550e2b0dc8fd66699
[INFO] checking devillove084/HierarchicalCache against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevillove084%2FHierarchicalCache" "/workspace/builds/worker-64/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/devillove084/HierarchicalCache on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/devillove084/HierarchicalCache
[INFO] finished tweaking git repo https://github.com/devillove084/HierarchicalCache
[INFO] tweaked toml for git repo https://github.com/devillove084/HierarchicalCache written to /workspace/builds/worker-64/source/Cargo.toml
[INFO] crate git repo https://github.com/devillove084/HierarchicalCache already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded seahash v4.1.0
[INFO] [stderr]   Downloaded probabilistic-collections v0.7.0
[INFO] [stderr]   Downloaded ahash v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0df84d106df4ddbd449e70ca32ee9ba63aa1f5f50241236759fb3f4a7f139dbb
[INFO] running `Command { std: "docker" "start" "-a" "0df84d106df4ddbd449e70ca32ee9ba63aa1f5f50241236759fb3f4a7f139dbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0df84d106df4ddbd449e70ca32ee9ba63aa1f5f50241236759fb3f4a7f139dbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0df84d106df4ddbd449e70ca32ee9ba63aa1f5f50241236759fb3f4a7f139dbb", kill_on_drop: false }`
[INFO] [stdout] 0df84d106df4ddbd449e70ca32ee9ba63aa1f5f50241236759fb3f4a7f139dbb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d49dbdc53086368d129b86fa98b37a3195d1010816a4117bf5d0394848021858
[INFO] running `Command { std: "docker" "start" "-a" "d49dbdc53086368d129b86fa98b37a3195d1010816a4117bf5d0394848021858", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking siphasher v0.3.3
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking seahash v4.1.0
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.3.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling ahash v0.7.0
[INFO] [stderr]    Compiling blake3 v0.3.7
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking parking_lot_core v0.8.2
[INFO] [stderr]     Checking mio v0.7.8
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_xorshift v0.2.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]     Checking bincode v1.3.1
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking probabilistic-collections v0.7.0
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking HierarchicalCache v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/lcache/cache.rs:118:25
[INFO] [stdout]     |
[INFO] [stdout] 117 |             if let Some(removed) = self.store.remove(&victim.key) {
[INFO] [stdout]     |                                    ---------- mutable borrow occurs here
[INFO] [stdout] 118 |                 let k = self.key_hash(&removed.k);
[INFO] [stdout]     |                         ^^^^          ---------- mutable borrow later used here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `item.v` which is behind a shared reference
[INFO] [stdout]    --> src/lcache/cache.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Some(item.v)
[INFO] [stdout]     |                  ^^^^^^ move occurs because `item.v` has type `V`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let result = self.data.keys(&g);
[INFO] [stdout]     |                                     -- `g` is borrowed here
[INFO] [stdout] 185 |         result
[INFO] [stdout]     |         ^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `.collect()` to allocate the iterator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:195:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |         if let Some(item) = self.data.get(k, &g) {
[INFO] [stdout]     |                                              -- `g` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 195 |                     Some(item)
[INFO] [stdout]     |                     ^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 207 |         if let Some(item) = self.data.get_mut(k, &g) {
[INFO] [stdout]     |                                                  -- `g` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 212 |                     Some(item)
[INFO] [stdout]     |                     ^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `item` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/lcache/store.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |         if let Some(item) = self.data.get_mut(k, &g) {
[INFO] [stdout]     |                     ---- help: consider changing this to be mutable: `mut item`
[INFO] [stdout] ...
[INFO] [stdout] 215 |                 Some(item.borrow_mut())
[INFO] [stdout]     |                      ^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*i` which is behind a shared reference
[INFO] [stdout]    --> src/lcache/store.rs:236:14
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Some(*i)
[INFO] [stdout]     |              ^^ move occurs because `*i` has type `Item<K, V>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         self.data.remove(k, &g)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |         |                   |
[INFO] [stdout]     |         |                   `g` is borrowed here
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/lcache/cache.rs:118:25
[INFO] [stdout]     |
[INFO] [stdout] 117 |             if let Some(removed) = self.store.remove(&victim.key) {
[INFO] [stdout]     |                                    ---------- mutable borrow occurs here
[INFO] [stdout] 118 |                 let k = self.key_hash(&removed.k);
[INFO] [stdout]     |                         ^^^^          ---------- mutable borrow later used here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `item.v` which is behind a shared reference
[INFO] [stdout]    --> src/lcache/cache.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 |             Some(item.v)
[INFO] [stdout]     |                  ^^^^^^ move occurs because `item.v` has type `V`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let result = self.data.keys(&g);
[INFO] [stdout]     |                                     -- `g` is borrowed here
[INFO] [stdout] 185 |         result
[INFO] [stdout]     |         ^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `.collect()` to allocate the iterator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:195:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |         if let Some(item) = self.data.get(k, &g) {
[INFO] [stdout]     |                                              -- `g` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 195 |                     Some(item)
[INFO] [stdout]     |                     ^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:212:21
[INFO] [stdout]     |
[INFO] [stdout] 207 |         if let Some(item) = self.data.get_mut(k, &g) {
[INFO] [stdout]     |                                                  -- `g` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 212 |                     Some(item)
[INFO] [stdout]     |                     ^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `item` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/lcache/store.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |         if let Some(item) = self.data.get_mut(k, &g) {
[INFO] [stdout]     |                     ---- help: consider changing this to be mutable: `mut item`
[INFO] [stdout] ...
[INFO] [stdout] 215 |                 Some(item.borrow_mut())
[INFO] [stdout]     |                      ^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `*i` which is behind a shared reference
[INFO] [stdout]    --> src/lcache/store.rs:236:14
[INFO] [stdout]     |
[INFO] [stdout] 236 |         Some(*i)
[INFO] [stdout]     |              ^^ move occurs because `*i` has type `Item<K, V>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `g`
[INFO] [stdout]    --> src/lcache/store.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         self.data.remove(k, &g)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]     |         |                   |
[INFO] [stdout]     |         |                   `g` is borrowed here
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0507, E0515, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HierarchicalCache` due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0507, E0515, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d49dbdc53086368d129b86fa98b37a3195d1010816a4117bf5d0394848021858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d49dbdc53086368d129b86fa98b37a3195d1010816a4117bf5d0394848021858", kill_on_drop: false }`
[INFO] [stdout] d49dbdc53086368d129b86fa98b37a3195d1010816a4117bf5d0394848021858
