[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb4skyx%2Flogchain" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/b4skyx/logchain on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9f48cf09081ae30d6c615e6c91e23a0b79e48b1e8a41830651ea806bdc536cf [INFO] running `Command { std: "docker" "start" "-a" "f9f48cf09081ae30d6c615e6c91e23a0b79e48b1e8a41830651ea806bdc536cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f48cf09081ae30d6c615e6c91e23a0b79e48b1e8a41830651ea806bdc536cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f48cf09081ae30d6c615e6c91e23a0b79e48b1e8a41830651ea806bdc536cf", kill_on_drop: false }` [INFO] [stdout] f9f48cf09081ae30d6c615e6c91e23a0b79e48b1e8a41830651ea806bdc536cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0eedfd1b2a8dafb4898fd6c183037cd5400ac01ce93ec7b3d4638720cbb67d [INFO] running `Command { std: "docker" "start" "-a" "2a0eedfd1b2a8dafb4898fd6c183037cd5400ac01ce93ec7b3d4638720cbb67d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.5 [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 3m 05s [INFO] running `Command { std: "docker" "inspect" "2a0eedfd1b2a8dafb4898fd6c183037cd5400ac01ce93ec7b3d4638720cbb67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0eedfd1b2a8dafb4898fd6c183037cd5400ac01ce93ec7b3d4638720cbb67d", kill_on_drop: false }` [INFO] [stdout] 2a0eedfd1b2a8dafb4898fd6c183037cd5400ac01ce93ec7b3d4638720cbb67d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f62f68c1ca67bd9b19df18506dc8d81a63f033c3ada0aa3ab0580f4d0c75fb15 [INFO] running `Command { std: "docker" "start" "-a" "f62f68c1ca67bd9b19df18506dc8d81a63f033c3ada0aa3ab0580f4d0c75fb15", 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 0.40s [INFO] running `Command { std: "docker" "inspect" "f62f68c1ca67bd9b19df18506dc8d81a63f033c3ada0aa3ab0580f4d0c75fb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62f68c1ca67bd9b19df18506dc8d81a63f033c3ada0aa3ab0580f4d0c75fb15", kill_on_drop: false }` [INFO] [stdout] f62f68c1ca67bd9b19df18506dc8d81a63f033c3ada0aa3ab0580f4d0c75fb15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72b501ab409f915225c87921cbe0c69f697a593c4a84c3c87903a05457c93209 [INFO] running `Command { std: "docker" "start" "-a" "72b501ab409f915225c87921cbe0c69f697a593c4a84c3c87903a05457c93209", 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 0.46s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/block_log-52c42d0bdf1eec22) [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" "72b501ab409f915225c87921cbe0c69f697a593c4a84c3c87903a05457c93209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b501ab409f915225c87921cbe0c69f697a593c4a84c3c87903a05457c93209", kill_on_drop: false }` [INFO] [stdout] 72b501ab409f915225c87921cbe0c69f697a593c4a84c3c87903a05457c93209