[INFO] cloning repository https://github.com/cameron-williams/zkru
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cameron-williams/zkru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 367194b472325b15315566bd7e2249f8d24c4ffd
[INFO] testing cameron-williams/zkru against beta-2022-04-10 for beta-1.61-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cameron-williams/zkru on toolchain beta-2022-04-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cameron-williams/zkru
[INFO] finished tweaking git repo https://github.com/cameron-williams/zkru
[INFO] tweaked toml for git repo https://github.com/cameron-williams/zkru written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/cameron-williams/zkru already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 65a702ef5b3ba1adc15ea7cbc45c3c33ff8142235ec385cec68c57e815acdc4c
[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" "65a702ef5b3ba1adc15ea7cbc45c3c33ff8142235ec385cec68c57e815acdc4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "65a702ef5b3ba1adc15ea7cbc45c3c33ff8142235ec385cec68c57e815acdc4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65a702ef5b3ba1adc15ea7cbc45c3c33ff8142235ec385cec68c57e815acdc4c", kill_on_drop: false }`
[INFO] [stdout] 65a702ef5b3ba1adc15ea7cbc45c3c33ff8142235ec385cec68c57e815acdc4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] ddb94d575e80145210b1296e1dd20a2e53f241d8ba17f15b7c07114cf3be1a80
[INFO] running `Command { std: "docker" "start" "-a" "ddb94d575e80145210b1296e1dd20a2e53f241d8ba17f15b7c07114cf3be1a80", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.71
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling clap v2.33.1
[INFO] [stderr] Compiling zkru v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:163:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 163 | / current_line.replace_range(
[INFO] [stdout] 164 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 165 | | format!(
[INFO] [stdout] 166 | | "{0}
",
[INFO] [stdout] 167 | | cap.get(1).unwrap().as_str(),
[INFO] [stdout] 168 | | ).as_str()
[INFO] [stdout] 169 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:131:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 131 | / current_line.replace_range(
[INFO] [stdout] 132 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 133 | | ""
[INFO] [stdout] 134 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:142:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 142 | / current_line.replace_range(
[INFO] [stdout] 143 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 144 | | ""
[INFO] [stdout] 145 | | );
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:151:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 151 | / current_line.replace_range(
[INFO] [stdout] 152 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 153 | | format!(
[INFO] [stdout] 154 | | "{1}",
[INFO] [stdout] ... |
[INFO] [stdout] 157 | | ).as_str()
[INFO] [stdout] 158 | | );
[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: field is never read: `html`
[INFO] [stdout] --> src/main.rs:77:5
[INFO] [stdout] |
[INFO] [stdout] 77 | html: String,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ZKNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] --> src/main.rs:72:10
[INFO] [stdout] |
[INFO] [stdout] 72 | #[derive(Debug)]
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.36s
[INFO] running `Command { std: "docker" "inspect" "ddb94d575e80145210b1296e1dd20a2e53f241d8ba17f15b7c07114cf3be1a80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddb94d575e80145210b1296e1dd20a2e53f241d8ba17f15b7c07114cf3be1a80", kill_on_drop: false }`
[INFO] [stdout] ddb94d575e80145210b1296e1dd20a2e53f241d8ba17f15b7c07114cf3be1a80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 3f113c2d6d77046029f350855ed2670482f61df3681c05d32ae925030a8e0870
[INFO] running `Command { std: "docker" "start" "-a" "3f113c2d6d77046029f350855ed2670482f61df3681c05d32ae925030a8e0870", kill_on_drop: false }`
[INFO] [stderr] Compiling zkru v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:163:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 163 | / current_line.replace_range(
[INFO] [stdout] 164 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 165 | | format!(
[INFO] [stdout] 166 | | "{0}
",
[INFO] [stdout] 167 | | cap.get(1).unwrap().as_str(),
[INFO] [stdout] 168 | | ).as_str()
[INFO] [stdout] 169 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:131:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 131 | / current_line.replace_range(
[INFO] [stdout] 132 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 133 | | ""
[INFO] [stdout] 134 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:142:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 142 | / current_line.replace_range(
[INFO] [stdout] 143 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 144 | | ""
[INFO] [stdout] 145 | | );
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:151:25
[INFO] [stdout] |
[INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stdout] | ------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 151 | / current_line.replace_range(
[INFO] [stdout] 152 | | cap.get(0).unwrap().range(),
[INFO] [stdout] | | ---------- immutable borrow later used here
[INFO] [stdout] 153 | | format!(
[INFO] [stdout] 154 | | "{1}",
[INFO] [stdout] ... |
[INFO] [stdout] 157 | | ).as_str()
[INFO] [stdout] 158 | | );
[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: field is never read: `html`
[INFO] [stdout] --> src/main.rs:77:5
[INFO] [stdout] |
[INFO] [stdout] 77 | html: String,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ZKNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] --> src/main.rs:72:10
[INFO] [stdout] |
[INFO] [stdout] 72 | #[derive(Debug)]
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.85s
[INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/zkru-4923f3fd2685dd4d)
[INFO] running `Command { std: "docker" "inspect" "3f113c2d6d77046029f350855ed2670482f61df3681c05d32ae925030a8e0870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f113c2d6d77046029f350855ed2670482f61df3681c05d32ae925030a8e0870", kill_on_drop: false }`
[INFO] [stdout] 3f113c2d6d77046029f350855ed2670482f61df3681c05d32ae925030a8e0870
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2022-04-10" "test" "--frozen", 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] 768baa75153a76a458bc392332a8b66656c1e8f991ba08cdb0581469767c7d5d
[INFO] running `Command { std: "docker" "start" "-a" "768baa75153a76a458bc392332a8b66656c1e8f991ba08cdb0581469767c7d5d", kill_on_drop: false }`
[INFO] [stderr] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable
[INFO] [stderr] --> src/main.rs:163:25
[INFO] [stderr] |
[INFO] [stderr] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stderr] | ------------- immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 163 | / current_line.replace_range(
[INFO] [stderr] 164 | | cap.get(0).unwrap().range(),
[INFO] [stderr] | | ---------- immutable borrow later used here
[INFO] [stderr] 165 | | format!(
[INFO] [stderr] 166 | | "{0}
",
[INFO] [stderr] 167 | | cap.get(1).unwrap().as_str(),
[INFO] [stderr] 168 | | ).as_str()
[INFO] [stderr] 169 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stderr] --> src/main.rs:131:25
[INFO] [stderr] |
[INFO] [stderr] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stderr] | ------------- immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 131 | / current_line.replace_range(
[INFO] [stderr] 132 | | cap.get(0).unwrap().range(),
[INFO] [stderr] | | ---------- immutable borrow later used here
[INFO] [stderr] 133 | | ""
[INFO] [stderr] 134 | | )
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stderr] --> src/main.rs:142:25
[INFO] [stderr] |
[INFO] [stderr] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stderr] | ------------- immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 142 | / current_line.replace_range(
[INFO] [stderr] 143 | | cap.get(0).unwrap().range(),
[INFO] [stderr] | | ---------- immutable borrow later used here
[INFO] [stderr] 144 | | ""
[INFO] [stderr] 145 | | );
[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 `current_line` as mutable because it is also borrowed as immutable
[INFO] [stderr] --> src/main.rs:151:25
[INFO] [stderr] |
[INFO] [stderr] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break};
[INFO] [stderr] | ------------- immutable borrow occurs here
[INFO] [stderr] ...
[INFO] [stderr] 151 | / current_line.replace_range(
[INFO] [stderr] 152 | | cap.get(0).unwrap().range(),
[INFO] [stderr] | | ---------- immutable borrow later used here
[INFO] [stderr] 153 | | format!(
[INFO] [stderr] 154 | | "{1}",
[INFO] [stderr] ... |
[INFO] [stderr] 157 | | ).as_str()
[INFO] [stderr] 158 | | );
[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: field is never read: `html`
[INFO] [stderr] --> src/main.rs:77:5
[INFO] [stderr] |
[INFO] [stderr] 77 | html: String,
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `ZKNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] --> src/main.rs:72:10
[INFO] [stderr] |
[INFO] [stderr] 72 | #[derive(Debug)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: `zkru` (bin "zkru" test) generated 5 warnings
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zkru-4923f3fd2685dd4d)
[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" "768baa75153a76a458bc392332a8b66656c1e8f991ba08cdb0581469767c7d5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "768baa75153a76a458bc392332a8b66656c1e8f991ba08cdb0581469767c7d5d", kill_on_drop: false }`
[INFO] [stdout] 768baa75153a76a458bc392332a8b66656c1e8f991ba08cdb0581469767c7d5d