[INFO] cloning repository https://github.com/shadowmax31/rental_rod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadowmax31/rental_rod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowmax31%2Frental_rod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowmax31%2Frental_rod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d8186f47e02bcc643b72b66fdcf9d2c0e6589fe [INFO] checking shadowmax31/rental_rod against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowmax31%2Frental_rod" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shadowmax31/rental_rod on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shadowmax31/rental_rod [INFO] finished tweaking git repo https://github.com/shadowmax31/rental_rod [INFO] tweaked toml for git repo https://github.com/shadowmax31/rental_rod written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shadowmax31/rental_rod already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdbb61e50f770c307a021e71601a7142b2d725ca81451a4f7baa80b9bd90ec01 [INFO] running `Command { std: "docker" "start" "-a" "cdbb61e50f770c307a021e71601a7142b2d725ca81451a4f7baa80b9bd90ec01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdbb61e50f770c307a021e71601a7142b2d725ca81451a4f7baa80b9bd90ec01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdbb61e50f770c307a021e71601a7142b2d725ca81451a4f7baa80b9bd90ec01", kill_on_drop: false }` [INFO] [stdout] cdbb61e50f770c307a021e71601a7142b2d725ca81451a4f7baa80b9bd90ec01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b967d2ffd8d4847ac087eabf99ea76f67aee277a5b9c475dae20bb4a47a64ca6 [INFO] running `Command { std: "docker" "start" "-a" "b967d2ffd8d4847ac087eabf99ea76f67aee277a5b9c475dae20bb4a47a64ca6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust_decimal v1.19.0 [INFO] [stderr] Compiling rust_decimal_macros v1.19.0 [INFO] [stderr] Checking rental_rod v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*table` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/db.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 290 | let mut manager = table_manager::get_table_manager(&self.path, table.get_name())?; [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 293 | if manager.write(table)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 302 | } [INFO] [stdout] | - immutable borrow might be used here, when `manager` is dropped and runs the destructor for type `impl TableManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rental_rod` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*table` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/db.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 290 | let mut manager = table_manager::get_table_manager(&self.path, table.get_name())?; [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 293 | if manager.write(table)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 302 | } [INFO] [stdout] | - immutable borrow might be used here, when `manager` is dropped and runs the destructor for type `impl TableManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rental_rod` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b967d2ffd8d4847ac087eabf99ea76f67aee277a5b9c475dae20bb4a47a64ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b967d2ffd8d4847ac087eabf99ea76f67aee277a5b9c475dae20bb4a47a64ca6", kill_on_drop: false }` [INFO] [stdout] b967d2ffd8d4847ac087eabf99ea76f67aee277a5b9c475dae20bb4a47a64ca6