[INFO] updating cached repository https://github.com/autovis/nebra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fc36d6e74374457a25e8d1dcc2324a12ad6340d [INFO] testing autovis/nebra against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautovis%2Fnebra" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/autovis/nebra on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/autovis/nebra already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e47fbb470e4e428808ae04a8f2e6e617cc9bacbab9189cb0455cf555248ce575 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e47fbb470e4e428808ae04a8f2e6e617cc9bacbab9189cb0455cf555248ce575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e47fbb470e4e428808ae04a8f2e6e617cc9bacbab9189cb0455cf555248ce575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47fbb470e4e428808ae04a8f2e6e617cc9bacbab9189cb0455cf555248ce575", kill_on_drop: false }` [INFO] [stdout] e47fbb470e4e428808ae04a8f2e6e617cc9bacbab9189cb0455cf555248ce575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a00233031294dbf8b28f67b22a9a27ec1b8babc99348243d97273f63477ea1b4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a00233031294dbf8b28f67b22a9a27ec1b8babc99348243d97273f63477ea1b4", kill_on_drop: false }` [INFO] [stderr] Compiling nebra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `bor` [INFO] [stdout] --> src/stream.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 91 | retval = bor.get_unchecked(((self.index() as usize) - bars_ago) % size); [INFO] [stdout] | --- `bor` is borrowed here [INFO] [stdout] 92 | } [INFO] [stdout] 93 | retval [INFO] [stdout] | ^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::cell::Ref<'_, std::vec::Vec>` as mutable [INFO] [stdout] --> src/stream.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | self.buffer.borrow()[idx % size] = value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::cell::Ref<'_, std::vec::Vec>` as mutable [INFO] [stdout] --> src/stream.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | self.buffer.borrow().push(Default::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::cell::Ref<'_, std::vec::Vec>` as mutable [INFO] [stdout] --> src/stream.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | self.buffer.borrow()[(self.index.get() as usize) % size] = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::cell::Ref<'_, std::vec::Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nebra`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a00233031294dbf8b28f67b22a9a27ec1b8babc99348243d97273f63477ea1b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00233031294dbf8b28f67b22a9a27ec1b8babc99348243d97273f63477ea1b4", kill_on_drop: false }` [INFO] [stdout] a00233031294dbf8b28f67b22a9a27ec1b8babc99348243d97273f63477ea1b4