[INFO] cloning repository https://github.com/b4skyx/logchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b4skyx/logchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb4skyx%2Flogchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb4skyx%2Flogchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37dd0f59acf7dc17f317822c6ca8c6cca87fac4c [INFO] testing b4skyx/logchain 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%2Fb4skyx%2Flogchain" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/b4skyx/logchain 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/b4skyx/logchain [INFO] finished tweaking git repo https://github.com/b4skyx/logchain [INFO] tweaked toml for git repo https://github.com/b4skyx/logchain written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/b4skyx/logchain 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] [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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f8a9c56a9701bcc0996c2c36b44d9765a3a534c28f5106434f35a98803b33e2 [INFO] running `Command { std: "docker" "start" "-a" "7f8a9c56a9701bcc0996c2c36b44d9765a3a534c28f5106434f35a98803b33e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f8a9c56a9701bcc0996c2c36b44d9765a3a534c28f5106434f35a98803b33e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8a9c56a9701bcc0996c2c36b44d9765a3a534c28f5106434f35a98803b33e2", kill_on_drop: false }` [INFO] [stdout] 7f8a9c56a9701bcc0996c2c36b44d9765a3a534c28f5106434f35a98803b33e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90acd05f5ad6b15f1428ef3fc5976173a83e0b556def495921b85f619054734 [INFO] running `Command { std: "docker" "start" "-a" "f90acd05f5ad6b15f1428ef3fc5976173a83e0b556def495921b85f619054734", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling block_log v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `chain` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | let previous_index = &chain.last().unwrap().index; [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 97 | / chain.push(create_block( [INFO] [stdout] 98 | | *previous_index, [INFO] [stdout] | | --------------- immutable borrow later used here [INFO] [stdout] 99 | | logt, [INFO] [stdout] 100 | | data, [INFO] [stdout] 101 | | previous_hash, [INFO] [stdout] 102 | | String::from(&salt), [INFO] [stdout] 103 | | )); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "f90acd05f5ad6b15f1428ef3fc5976173a83e0b556def495921b85f619054734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90acd05f5ad6b15f1428ef3fc5976173a83e0b556def495921b85f619054734", kill_on_drop: false }` [INFO] [stdout] f90acd05f5ad6b15f1428ef3fc5976173a83e0b556def495921b85f619054734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b124553bfb0c34b1f0d5cd0729a183a1a0ad40b30e06949d106321ae57b6a5b7 [INFO] running `Command { std: "docker" "start" "-a" "b124553bfb0c34b1f0d5cd0729a183a1a0ad40b30e06949d106321ae57b6a5b7", kill_on_drop: false }` [INFO] [stderr] Compiling block_log v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `chain` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | let previous_index = &chain.last().unwrap().index; [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 97 | / chain.push(create_block( [INFO] [stdout] 98 | | *previous_index, [INFO] [stdout] | | --------------- immutable borrow later used here [INFO] [stdout] 99 | | logt, [INFO] [stdout] 100 | | data, [INFO] [stdout] 101 | | previous_hash, [INFO] [stdout] 102 | | String::from(&salt), [INFO] [stdout] 103 | | )); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/block_log-78a2ee8da6d9913f) [INFO] running `Command { std: "docker" "inspect" "b124553bfb0c34b1f0d5cd0729a183a1a0ad40b30e06949d106321ae57b6a5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b124553bfb0c34b1f0d5cd0729a183a1a0ad40b30e06949d106321ae57b6a5b7", kill_on_drop: false }` [INFO] [stdout] b124553bfb0c34b1f0d5cd0729a183a1a0ad40b30e06949d106321ae57b6a5b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f6a11cc62cead5b11883abcefcc8e16800723848069d1b8b58123b74843db30 [INFO] running `Command { std: "docker" "start" "-a" "4f6a11cc62cead5b11883abcefcc8e16800723848069d1b8b58123b74843db30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: cannot borrow `chain` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/main.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 94 | let previous_index = &chain.last().unwrap().index; [INFO] [stderr] | ------------ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 97 | / chain.push(create_block( [INFO] [stderr] 98 | | *previous_index, [INFO] [stderr] | | --------------- immutable borrow later used here [INFO] [stderr] 99 | | logt, [INFO] [stderr] 100 | | data, [INFO] [stderr] 101 | | previous_hash, [INFO] [stderr] 102 | | String::from(&salt), [INFO] [stderr] 103 | | )); [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: `block_log` (bin "block_log" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.57s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/block_log-78a2ee8da6d9913f) [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" "4f6a11cc62cead5b11883abcefcc8e16800723848069d1b8b58123b74843db30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6a11cc62cead5b11883abcefcc8e16800723848069d1b8b58123b74843db30", kill_on_drop: false }` [INFO] [stdout] 4f6a11cc62cead5b11883abcefcc8e16800723848069d1b8b58123b74843db30