[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/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/gh/autovis/nebra'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/autovis/nebra" "work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/gh/autovis/nebra"` [INFO] [stderr] Cloning into 'work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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 master#452087b4bf18cece2d52d7cd8c9147195e5404bf [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of autovis/nebra on toolchain try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "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/pr-63247/sources/master#452087b4bf18cece2d52d7cd8c9147195e5404bf/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/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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" "+452087b4bf18cece2d52d7cd8c9147195e5404bf-alt" "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" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking autovis/nebra against try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab for pr-63247 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63247/worker-1/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63247/sources/try#757dacae0a9f1b46b3ab58a1f1232332e8fc7dab/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=forbid" "-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" "+757dacae0a9f1b46b3ab58a1f1232332e8fc7dab-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 611923fcd819d5a0710d33cce1912e89371925d7f4e4a7b5e79886560e8e5688 [INFO] running `"docker" "start" "-a" "611923fcd819d5a0710d33cce1912e89371925d7f4e4a7b5e79886560e8e5688"` [INFO] [stderr] Checking 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] warning: build failed, waiting for other jobs to finish... [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" "611923fcd819d5a0710d33cce1912e89371925d7f4e4a7b5e79886560e8e5688"` [INFO] running `"docker" "rm" "-f" "611923fcd819d5a0710d33cce1912e89371925d7f4e4a7b5e79886560e8e5688"` [INFO] [stdout] 611923fcd819d5a0710d33cce1912e89371925d7f4e4a7b5e79886560e8e5688