[INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/soniceroy/RustBlockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soniceroy/RustBlockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c33433ce9ef133f14b9a808520b6b0bc275bbc9b [INFO] checking soniceroy/RustBlockchain against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoniceroy%2FRustBlockchain" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soniceroy/RustBlockchain [INFO] finished tweaking git repo https://github.com/soniceroy/RustBlockchain [INFO] tweaked toml for git repo https://github.com/soniceroy/RustBlockchain written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soniceroy/RustBlockchain on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/soniceroy/RustBlockchain 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab5a9cdb44cb4751bfb6f3ac0de3946cd861670b9ec8e2161eb596e155329248 [INFO] running `Command { std: "docker" "start" "-a" "ab5a9cdb44cb4751bfb6f3ac0de3946cd861670b9ec8e2161eb596e155329248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab5a9cdb44cb4751bfb6f3ac0de3946cd861670b9ec8e2161eb596e155329248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5a9cdb44cb4751bfb6f3ac0de3946cd861670b9ec8e2161eb596e155329248", kill_on_drop: false }` [INFO] [stdout] ab5a9cdb44cb4751bfb6f3ac0de3946cd861670b9ec8e2161eb596e155329248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad80102b06da6e8515a751c55f8602d566dbe85fc0032be4b9f10cfbcefb421 [INFO] running `Command { std: "docker" "start" "-a" "7ad80102b06da6e8515a751c55f8602d566dbe85fc0032be4b9f10cfbcefb421", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 50 | impl <'a>Blockchain<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 57 | fn new_block(&mut self) { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 60 | self.chain.push(new_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Vec>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 50 | impl <'a>Blockchain<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 57 | fn new_block(&mut self) { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 60 | self.chain.push(new_block); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Vec>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn last_block(&mut self) -> &Block { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 76 | if let Some(last) = self.chain.first() { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 77 | &last [INFO] [stdout] | ----- returning this value requires that `self.chain` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 80 | self.new_block(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn last_block(&mut self) -> &Block { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 76 | if let Some(last) = self.chain.first() { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 77 | &last [INFO] [stdout] | ----- returning this value requires that `self.chain` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 81 | self.last_block() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | fn hash(block: Blockchain) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn last_block(&mut self) -> &Block { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 76 | if let Some(last) = self.chain.first() { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 77 | &last [INFO] [stdout] | ----- returning this value requires that `self.chain` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 80 | self.new_block(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn last_block(&mut self) -> &Block { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 76 | if let Some(last) = self.chain.first() { [INFO] [stdout] | ---------- immutable borrow occurs here [INFO] [stdout] 77 | &last [INFO] [stdout] | ----- returning this value requires that `self.chain` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 81 | self.last_block() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | fn hash(block: Blockchain) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7ad80102b06da6e8515a751c55f8602d566dbe85fc0032be4b9f10cfbcefb421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad80102b06da6e8515a751c55f8602d566dbe85fc0032be4b9f10cfbcefb421", kill_on_drop: false }` [INFO] [stdout] 7ad80102b06da6e8515a751c55f8602d566dbe85fc0032be4b9f10cfbcefb421