[INFO] cloning repository https://github.com/jujuspence/Stark_Repair_Suit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jujuspence/Stark_Repair_Suit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjujuspence%2FStark_Repair_Suit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjujuspence%2FStark_Repair_Suit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1d9fd3abf4a45f820d9a8daabb0260d70b95913 [INFO] checking jujuspence/Stark_Repair_Suit against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjujuspence%2FStark_Repair_Suit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jujuspence/Stark_Repair_Suit on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jujuspence/Stark_Repair_Suit [INFO] finished tweaking git repo https://github.com/jujuspence/Stark_Repair_Suit [INFO] tweaked toml for git repo https://github.com/jujuspence/Stark_Repair_Suit written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jujuspence/Stark_Repair_Suit 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c4ce866703d31d1f31656ef315f28ee0e5affeef6ea2b1e23598d4c0e2f5f93 [INFO] running `Command { std: "docker" "start" "-a" "6c4ce866703d31d1f31656ef315f28ee0e5affeef6ea2b1e23598d4c0e2f5f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c4ce866703d31d1f31656ef315f28ee0e5affeef6ea2b1e23598d4c0e2f5f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4ce866703d31d1f31656ef315f28ee0e5affeef6ea2b1e23598d4c0e2f5f93", kill_on_drop: false }` [INFO] [stdout] 6c4ce866703d31d1f31656ef315f28ee0e5affeef6ea2b1e23598d4c0e2f5f93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044330d0640f8c72e9870977139a92eb7e4cf52bad914c09034e93e630274184 [INFO] running `Command { std: "docker" "start" "-a" "044330d0640f8c72e9870977139a92eb7e4cf52bad914c09034e93e630274184", kill_on_drop: false }` [INFO] [stderr] Checking stark_suit_repair v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/linkedlist.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | let lock = &clon.unwrap().read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 122 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `RwLockReadGuard` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 104 ~ let binding = clon.unwrap().read().unwrap(); [INFO] [stdout] 105 ~ let lock = &binding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `clon` [INFO] [stdout] --> src/linkedlist.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 103 | let clon = self.armor.head_link.as_ref().clone(); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | first assignment to `clon` [INFO] [stdout] | help: consider making this binding mutable: `mut clon` [INFO] [stdout] ... [INFO] [stdout] 119 | clon = lock.rest.as_ref(); //.clone(); //.as_ref().unwrap().read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `lock` because it is borrowed [INFO] [stdout] --> src/linkedlist.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | lock = lock.rest.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | ^^^^ ---- `lock` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | `lock` is assigned to here but it was already borrowed [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `Node` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sync/rwlock.rs:664:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `lock` does not live long enough [INFO] [stdout] --> src/linkedlist.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 129 | {let mut lock = self.armor.head_link.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | -------- binding `lock` declared here [INFO] [stdout] ... [INFO] [stdout] 145 | lock = lock.rest.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 146 | } [INFO] [stdout] 147 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `lock` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `lock` is dropped and runs the `Drop` code for type `RwLockWriteGuard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/linkedlist.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | let lock = &clon.unwrap().read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 122 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `RwLockReadGuard` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 104 ~ let binding = clon.unwrap().read().unwrap(); [INFO] [stdout] 105 ~ let lock = &binding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `clon` [INFO] [stdout] --> src/linkedlist.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 103 | let clon = self.armor.head_link.as_ref().clone(); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | first assignment to `clon` [INFO] [stdout] | help: consider making this binding mutable: `mut clon` [INFO] [stdout] ... [INFO] [stdout] 119 | clon = lock.rest.as_ref(); //.clone(); //.as_ref().unwrap().read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign twice to immutable variable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0384, E0506, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0384`. [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `lock` because it is borrowed [INFO] [stdout] --> src/linkedlist.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | lock = lock.rest.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | ^^^^ ---- `lock` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | `lock` is assigned to here but it was already borrowed [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `Node` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/sync/rwlock.rs:664:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `lock` does not live long enough [INFO] [stdout] --> src/linkedlist.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 129 | {let mut lock = self.armor.head_link.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | -------- binding `lock` declared here [INFO] [stdout] ... [INFO] [stdout] 145 | lock = lock.rest.as_ref().unwrap().write().unwrap(); [INFO] [stdout] | ^^^^ borrowed value does not live long enough [INFO] [stdout] 146 | } [INFO] [stdout] 147 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `lock` dropped here while still borrowed [INFO] [stdout] | borrow might be used here, when `lock` is dropped and runs the `Drop` code for type `RwLockWriteGuard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0384, E0506, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0384`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stark_suit_repair` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stark_suit_repair` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "044330d0640f8c72e9870977139a92eb7e4cf52bad914c09034e93e630274184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044330d0640f8c72e9870977139a92eb7e4cf52bad914c09034e93e630274184", kill_on_drop: false }` [INFO] [stdout] 044330d0640f8c72e9870977139a92eb7e4cf52bad914c09034e93e630274184 [INFO] checking jujuspence/Stark_Repair_Suit against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjujuspence%2FStark_Repair_Suit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jujuspence/Stark_Repair_Suit on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jujuspence/Stark_Repair_Suit [INFO] finished tweaking git repo https://github.com/jujuspence/Stark_Repair_Suit [INFO] tweaked toml for git repo https://github.com/jujuspence/Stark_Repair_Suit written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jujuspence/Stark_Repair_Suit 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b329b832c840fd1ae5110079745a85aa598cc4e04f6246492e2a62f25b442d88 [INFO] running `Command { std: "docker" "start" "-a" "b329b832c840fd1ae5110079745a85aa598cc4e04f6246492e2a62f25b442d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b329b832c840fd1ae5110079745a85aa598cc4e04f6246492e2a62f25b442d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b329b832c840fd1ae5110079745a85aa598cc4e04f6246492e2a62f25b442d88", kill_on_drop: false }` [INFO] [stdout] b329b832c840fd1ae5110079745a85aa598cc4e04f6246492e2a62f25b442d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7785d8ce94b2870382379339710f6eab93002d71efc93baecb2bd0aa142ac1d4 [INFO] running `Command { std: "docker" "start" "-a" "7785d8ce94b2870382379339710f6eab93002d71efc93baecb2bd0aa142ac1d4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "7785d8ce94b2870382379339710f6eab93002d71efc93baecb2bd0aa142ac1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7785d8ce94b2870382379339710f6eab93002d71efc93baecb2bd0aa142ac1d4", kill_on_drop: false }` [INFO] [stdout] 7785d8ce94b2870382379339710f6eab93002d71efc93baecb2bd0aa142ac1d4