[INFO] cloning repository https://github.com/autovis/nebra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/autovis/nebra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautovis%2Fnebra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautovis%2Fnebra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fc36d6e74374457a25e8d1dcc2324a12ad6340d [INFO] checking autovis/nebra/0fc36d6e74374457a25e8d1dcc2324a12ad6340d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautovis%2Fnebra" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/autovis/nebra on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5524e9af65d3a96162281c534d25c74d34e2845221f21daa0ea4217d145b2777 [INFO] running `Command { std: "docker" "start" "-a" "5524e9af65d3a96162281c534d25c74d34e2845221f21daa0ea4217d145b2777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5524e9af65d3a96162281c534d25c74d34e2845221f21daa0ea4217d145b2777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5524e9af65d3a96162281c534d25c74d34e2845221f21daa0ea4217d145b2777", kill_on_drop: false }` [INFO] [stdout] 5524e9af65d3a96162281c534d25c74d34e2845221f21daa0ea4217d145b2777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c9c70e0d093287cd1ccd4f24334d84701ab30aa043d8c167f910f75afc2e12 [INFO] running `Command { std: "docker" "start" "-a" "64c9c70e0d093287cd1ccd4f24334d84701ab30aa043d8c167f910f75afc2e12", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking nebra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> Doublesize<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn new(input : &'a Stream) -> Doublesize { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> Doublesize<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn new(input : &'a Stream) -> Doublesize { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [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[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 dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, 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 `Ref<'_, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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` (bin "nebra") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nebra` (bin "nebra" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "64c9c70e0d093287cd1ccd4f24334d84701ab30aa043d8c167f910f75afc2e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c9c70e0d093287cd1ccd4f24334d84701ab30aa043d8c167f910f75afc2e12", kill_on_drop: false }` [INFO] [stdout] 64c9c70e0d093287cd1ccd4f24334d84701ab30aa043d8c167f910f75afc2e12