[INFO] cloning repository https://github.com/comcloudway/blueprint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comcloudway/blueprint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomcloudway%2Fblueprint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomcloudway%2Fblueprint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18981bcbc92c762a8c4e3651732b838562356390 [INFO] checking comcloudway/blueprint against master#297a8018b525c28ef10ee6a91d61954839b508b9 for pr-95565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomcloudway%2Fblueprint" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/comcloudway/blueprint on toolchain 297a8018b525c28ef10ee6a91d61954839b508b9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/comcloudway/blueprint [INFO] finished tweaking git repo https://github.com/comcloudway/blueprint [INFO] tweaked toml for git repo https://github.com/comcloudway/blueprint written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/comcloudway/blueprint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 23a3cb7c3f5dc6da4f27cdc5adea547c7be6bef3a7b4d5ce967ff5686635c216 [INFO] running `Command { std: "docker" "start" "-a" "23a3cb7c3f5dc6da4f27cdc5adea547c7be6bef3a7b4d5ce967ff5686635c216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23a3cb7c3f5dc6da4f27cdc5adea547c7be6bef3a7b4d5ce967ff5686635c216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a3cb7c3f5dc6da4f27cdc5adea547c7be6bef3a7b4d5ce967ff5686635c216", kill_on_drop: false }` [INFO] [stdout] 23a3cb7c3f5dc6da4f27cdc5adea547c7be6bef3a7b4d5ce967ff5686635c216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c84d9712a55e82883168cf2254488f1f8d1f278002ae487dafcab456ab1a6fa [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" "5c84d9712a55e82883168cf2254488f1f8d1f278002ae487dafcab456ab1a6fa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking blueprint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut component: Option<ParserTypes> = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut component: Option<ParserTypes> = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 193 | buffer.insert(i, LexerTypes::Comment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 211 | buffer.insert(i, LexerTypes::MultilineComment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 181 | buffer.insert(i, LexerTypes::Text(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 193 | buffer.insert(i, LexerTypes::Comment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 211 | buffer.insert(i, LexerTypes::MultilineComment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 181 | buffer.insert(i, LexerTypes::Text(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConverterFn`, `Errors`, `ParserTypes` [INFO] [stdout] --> src/defaults/auto.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConverterFn` [INFO] [stdout] --> src/defaults/keywords.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/defaults/keywords.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | if (index < args.len() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - if (index < args.len() - 1) { [INFO] [stdout] 273 + if index < args.len() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConverterFn`, `ParserTypes` [INFO] [stdout] --> src/defaults/macros.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConverterFn`, `Errors`, `ParserTypes` [INFO] [stdout] --> src/defaults/auto.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConverterFn` [INFO] [stdout] --> src/defaults/keywords.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/defaults/keywords.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | if (index < args.len() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - if (index < args.len() - 1) { [INFO] [stdout] 273 + if index < args.len() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConverterFn`, `ParserTypes` [INFO] [stdout] --> src/defaults/macros.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{BluePrint, Errors, ConverterFn, ParserTypes}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut component: Option<ParserTypes> = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/defaults/keywords.rs:115:54 [INFO] [stdout] | [INFO] [stdout] 115 | blueprint.register_keyword("continue", Box::new(|s, args| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:343:37 [INFO] [stdout] | [INFO] [stdout] 343 | ... let mut component: Option<ParserTypes> = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/defaults/keywords.rs:115:54 [INFO] [stdout] | [INFO] [stdout] 115 | blueprint.register_keyword("continue", Box::new(|s, args| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 193 | buffer.insert(i, LexerTypes::Comment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 211 | buffer.insert(i, LexerTypes::MultilineComment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 181 | buffer.insert(i, LexerTypes::Text(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 193 | buffer.insert(i, LexerTypes::Comment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 211 | buffer.insert(i, LexerTypes::MultilineComment(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 181 | buffer.insert(i, LexerTypes::Text(cur.to_owned()+&c.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.64s [INFO] running `Command { std: "docker" "inspect" "5c84d9712a55e82883168cf2254488f1f8d1f278002ae487dafcab456ab1a6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c84d9712a55e82883168cf2254488f1f8d1f278002ae487dafcab456ab1a6fa", kill_on_drop: false }` [INFO] [stdout] 5c84d9712a55e82883168cf2254488f1f8d1f278002ae487dafcab456ab1a6fa