[INFO] updating cached repository https://github.com/autovis/nebra [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0fc36d6e74374457a25e8d1dcc2324a12ad6340d [INFO] testing autovis/nebra against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautovis%2Fnebra" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/autovis/nebra on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/autovis/nebra [INFO] finished tweaking git repo https://github.com/autovis/nebra [INFO] tweaked toml for git repo https://github.com/autovis/nebra written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/autovis/nebra already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] ae16d5763c9395f4e2f709251259372dde78811dfb36360ea29358b2e4e07aa8 [INFO] running `"docker" "start" "-a" "ae16d5763c9395f4e2f709251259372dde78811dfb36360ea29358b2e4e07aa8"` [INFO] [stderr] Compiling nebra v0.1.0 (/opt/rustwide/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" "ae16d5763c9395f4e2f709251259372dde78811dfb36360ea29358b2e4e07aa8"` [INFO] running `"docker" "rm" "-f" "ae16d5763c9395f4e2f709251259372dde78811dfb36360ea29358b2e4e07aa8"` [INFO] [stdout] ae16d5763c9395f4e2f709251259372dde78811dfb36360ea29358b2e4e07aa8