[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.38-1/sources/1.37.0/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/autovis/nebra'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/autovis/nebra" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of autovis/nebra on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing autovis/nebra against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] 4910228083a772f6fbe9f6a48e790ee931628b0adc95d901cdf6f824d06f346d [INFO] running `"docker" "start" "-a" "4910228083a772f6fbe9f6a48e790ee931628b0adc95d901cdf6f824d06f346d"` [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 dereference of `std::cell::Ref<'_, std::vec::Vec>` 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] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow data in a dereference of `std::cell::Ref<'_, std::vec::Vec>` 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] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow data in a dereference of `std::cell::Ref<'_, std::vec::Vec>` 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] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [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" "4910228083a772f6fbe9f6a48e790ee931628b0adc95d901cdf6f824d06f346d"` [INFO] running `"docker" "rm" "-f" "4910228083a772f6fbe9f6a48e790ee931628b0adc95d901cdf6f824d06f346d"` [INFO] [stdout] 4910228083a772f6fbe9f6a48e790ee931628b0adc95d901cdf6f824d06f346d