[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] 44cdde59acfd2434000a4db279a1130193eead55 [INFO] testing comcloudway/blueprint against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomcloudway%2Fblueprint" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 55% (5976/10827) Updating files: 56% (6064/10827) Updating files: 57% (6172/10827) Updating files: 58% (6280/10827) Updating files: 59% (6388/10827) Updating files: 60% (6497/10827) Updating files: 61% (6605/10827) Updating files: 62% (6713/10827) Updating files: 63% (6822/10827) Updating files: 64% (6930/10827) Updating files: 65% (7038/10827) Updating files: 66% (7146/10827) Updating files: 67% (7255/10827) Updating files: 68% (7363/10827) Updating files: 69% (7471/10827) Updating files: 70% (7579/10827) Updating files: 71% (7688/10827) Updating files: 72% (7796/10827) Updating files: 73% (7904/10827) Updating files: 74% (8012/10827) Updating files: 75% (8121/10827) Updating files: 76% (8229/10827) Updating files: 77% (8337/10827) Updating files: 78% (8446/10827) Updating files: 79% (8554/10827) Updating files: 80% (8662/10827) Updating files: 81% (8770/10827) Updating files: 82% (8879/10827) Updating files: 83% (8987/10827) Updating files: 84% (9095/10827) Updating files: 85% (9203/10827) Updating files: 86% (9312/10827) Updating files: 87% (9420/10827) Updating files: 88% (9528/10827) Updating files: 89% (9637/10827) Updating files: 90% (9745/10827) Updating files: 91% (9853/10827) Updating files: 92% (9961/10827) Updating files: 93% (10070/10827) Updating files: 94% (10178/10827) Updating files: 95% (10286/10827) Updating files: 96% (10394/10827) Updating files: 97% (10503/10827) Updating files: 98% (10611/10827) Updating files: 99% (10719/10827) Updating files: 100% (10827/10827) Updating files: 100% (10827/10827), done. [INFO] validating manifest of git repo https://github.com/comcloudway/blueprint on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-108/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 162feffb7137a4cce8144cd442d236bd12d4b9cf9a9815e7b078e22b4838b984 [INFO] running `Command { std: "docker" "start" "-a" "162feffb7137a4cce8144cd442d236bd12d4b9cf9a9815e7b078e22b4838b984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "162feffb7137a4cce8144cd442d236bd12d4b9cf9a9815e7b078e22b4838b984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162feffb7137a4cce8144cd442d236bd12d4b9cf9a9815e7b078e22b4838b984", kill_on_drop: false }` [INFO] [stdout] 162feffb7137a4cce8144cd442d236bd12d4b9cf9a9815e7b078e22b4838b984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 775d6a8102dcb00ed1df00f78f8022c5a85aecb82542844fd1ac476145156bf5 [INFO] running `Command { std: "docker" "start" "-a" "775d6a8102dcb00ed1df00f78f8022c5a85aecb82542844fd1ac476145156bf5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [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] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling blueprint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | ... let mut component: Option = 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:215:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 215 | 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] = 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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 198 | 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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | ... let mut component: Option = 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:215:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 215 | 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] = 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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 198 | 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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Custom(String) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `watch` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | watch: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.71s [INFO] running `Command { std: "docker" "inspect" "775d6a8102dcb00ed1df00f78f8022c5a85aecb82542844fd1ac476145156bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "775d6a8102dcb00ed1df00f78f8022c5a85aecb82542844fd1ac476145156bf5", kill_on_drop: false }` [INFO] [stdout] 775d6a8102dcb00ed1df00f78f8022c5a85aecb82542844fd1ac476145156bf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdb8752385f2a90d2e0b5812c3f629dbeebaa448ca7f634b5e768b5d87f44bfd [INFO] running `Command { std: "docker" "start" "-a" "cdb8752385f2a90d2e0b5812c3f629dbeebaa448ca7f634b5e768b5d87f44bfd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | ... let mut component: Option = 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] [stderr] Compiling blueprint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 215 | 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] = 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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 198 | 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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | ... let mut component: Option = 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:215:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 215 | 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] = 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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 198 | 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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `component` is never read [INFO] [stdout] --> src/lib.rs:346:37 [INFO] [stdout] | [INFO] [stdout] 346 | ... let mut component: Option = 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:215:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 215 | 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] = 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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lib.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stdout] | -------------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 198 | 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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Custom(String) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `watch` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | watch: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "cdb8752385f2a90d2e0b5812c3f629dbeebaa448ca7f634b5e768b5d87f44bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb8752385f2a90d2e0b5812c3f629dbeebaa448ca7f634b5e768b5d87f44bfd", kill_on_drop: false }` [INFO] [stdout] cdb8752385f2a90d2e0b5812c3f629dbeebaa448ca7f634b5e768b5d87f44bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 855b1073a41db8453e2194f66570ba355af417152012c0438123615861e440f3 [INFO] running `Command { std: "docker" "start" "-a" "855b1073a41db8453e2194f66570ba355af417152012c0438123615861e440f3", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `component` is never read [INFO] [stderr] --> src/lib.rs:346:37 [INFO] [stderr] | [INFO] [stderr] 346 | ... let mut component: Option = None; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:215:37 [INFO] [stderr] | [INFO] [stderr] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stderr] | -------------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 215 | buffer.insert(i, LexerTypes::MultilineComment(cur.to_owned()+&c.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:181:41 [INFO] [stderr] | [INFO] [stderr] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stderr] | -------------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 181 | buffer.insert(i, LexerTypes::Text(cur.to_owned()+&c.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `buffer` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:198:37 [INFO] [stderr] | [INFO] [stderr] 139 | done = match buffer.get(buffer.len()-1) { [INFO] [stderr] | -------------------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 198 | buffer.insert(i, LexerTypes::Comment(cur.to_owned()+&c.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: `blueprint` (lib) generated 4 warnings [INFO] [stderr] warning: `blueprint` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Custom` [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Custom(String) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `watch` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | watch: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `blueprint` (bin "blueprint" test) generated 7 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blueprint-19c0855d789d47e8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blueprint-266e27993f091964) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests blueprint [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "855b1073a41db8453e2194f66570ba355af417152012c0438123615861e440f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855b1073a41db8453e2194f66570ba355af417152012c0438123615861e440f3", kill_on_drop: false }` [INFO] [stdout] 855b1073a41db8453e2194f66570ba355af417152012c0438123615861e440f3