[INFO] updating cached repository autovis/nebra [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/autovis/nebra [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/autovis/nebra" "work/ex/beta-1.37-6/sources/1.36.0/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/autovis/nebra'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/autovis/nebra" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/autovis/nebra'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0fc36d6e74374457a25e8d1dcc2324a12ad6340d [INFO] sha for GitHub repo autovis/nebra: 0fc36d6e74374457a25e8d1dcc2324a12ad6340d [INFO] validating manifest of autovis/nebra on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of autovis/nebra on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing autovis/nebra [INFO] finished frobbing autovis/nebra [INFO] frobbed toml for autovis/nebra written to work/ex/beta-1.37-6/sources/1.36.0/gh/autovis/nebra/Cargo.toml [INFO] started frobbing autovis/nebra [INFO] finished frobbing autovis/nebra [INFO] frobbed toml for autovis/nebra written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/autovis/nebra/Cargo.toml [INFO] crate autovis/nebra already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing autovis/nebra against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/autovis/nebra:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 6d0c112dfd3987451f48885beb56c540ae3f139bd114d3363b80c12797a27f7a [INFO] running `"docker" "start" "-a" "6d0c112dfd3987451f48885beb56c540ae3f139bd114d3363b80c12797a27f7a"` [INFO] [stderr] Compiling nebra v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0515]: cannot return value referencing local variable `bor` [INFO] [stderr] --> src/stream.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 91 | retval = bor.get_unchecked(((self.index() as usize) - bars_ago) % size); [INFO] [stderr] | --- `bor` is borrowed here [INFO] [stderr] 92 | } [INFO] [stderr] 93 | retval [INFO] [stderr] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stderr] --> src/stream.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | self.buffer.borrow()[idx % size] = value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stderr] --> src/stream.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | self.buffer.borrow().push(Default::default()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow data in a `&` reference as mutable [INFO] [stderr] --> src/stream.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | self.buffer.borrow()[(self.index.get() as usize) % size] = Default::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0515, E0596. [INFO] [stderr] For more information about an error, try `rustc --explain E0515`. [INFO] [stderr] error: Could not compile `nebra`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6d0c112dfd3987451f48885beb56c540ae3f139bd114d3363b80c12797a27f7a"` [INFO] running `"docker" "rm" "-f" "6d0c112dfd3987451f48885beb56c540ae3f139bd114d3363b80c12797a27f7a"` [INFO] [stdout] 6d0c112dfd3987451f48885beb56c540ae3f139bd114d3363b80c12797a27f7a