[INFO] cloning repository https://github.com/n4to4/rust-for-rustaceans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n4to4/rust-for-rustaceans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Frust-for-rustaceans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Frust-for-rustaceans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b94d26fd680e2301f28a46bd7295a9d0589d708 [INFO] checking n4to4/rust-for-rustaceans against master#c29082fe7dc6e902169cacbae165562a7e4a1fd6 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Frust-for-rustaceans" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n4to4/rust-for-rustaceans on toolchain c29082fe7dc6e902169cacbae165562a7e4a1fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] finished tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] tweaked toml for git repo https://github.com/n4to4/rust-for-rustaceans written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/n4to4/rust-for-rustaceans 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" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking n4to4/rust-for-rustaceans against try#a76cc2633df38feca72f20156e7d9e4b074337f3 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Frust-for-rustaceans" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n4to4/rust-for-rustaceans on toolchain a76cc2633df38feca72f20156e7d9e4b074337f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] finished tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] tweaked toml for git repo https://github.com/n4to4/rust-for-rustaceans written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/n4to4/rust-for-rustaceans 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" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking n4to4/rust-for-rustaceans against try#a76cc2633df38feca72f20156e7d9e4b074337f3 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Frust-for-rustaceans" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n4to4/rust-for-rustaceans on toolchain a76cc2633df38feca72f20156e7d9e4b074337f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] finished tweaking git repo https://github.com/n4to4/rust-for-rustaceans [INFO] tweaked toml for git repo https://github.com/n4to4/rust-for-rustaceans written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/n4to4/rust-for-rustaceans 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" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf2dc76bad913b737b823aef81f3d2358a951237efb276d9b52ad05c24b6d33f [INFO] running `Command { std: "docker" "start" "-a" "bf2dc76bad913b737b823aef81f3d2358a951237efb276d9b52ad05c24b6d33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf2dc76bad913b737b823aef81f3d2358a951237efb276d9b52ad05c24b6d33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2dc76bad913b737b823aef81f3d2358a951237efb276d9b52ad05c24b6d33f", kill_on_drop: false }` [INFO] [stdout] bf2dc76bad913b737b823aef81f3d2358a951237efb276d9b52ad05c24b6d33f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeba50f12e0811af643d82fc9d657860ac8f0ceae63a1fe69aad65e0c75e4a04 [INFO] running `Command { std: "docker" "start" "-a" "aeba50f12e0811af643d82fc9d657860ac8f0ceae63a1fe69aad65e0c75e4a04", kill_on_drop: false }` [INFO] [stderr] Checking chapter03 v0.1.0 (/opt/rustwide/workdir/chapter03) [INFO] [stderr] Checking chapter04 v0.1.0 (/opt/rustwide/workdir/chapter04) [INFO] [stderr] Checking chapter02 v0.1.0 (/opt/rustwide/workdir/chapter02) [INFO] [stderr] Checking rust-for-rustaceans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `var1` [INFO] [stdout] --> chapter02/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let var1 = &x; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `var2` is assigned to, but never used [INFO] [stdout] --> chapter02/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut var2 = &x; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_var2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `var2` is never read [INFO] [stdout] --> chapter02/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | var2 = &y; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapter02/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let y = &x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> chapter02/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | x = 43; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> chapter02/src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let z = (x1, y1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> chapter02/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let x2 = x1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> chapter02/src/main.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 73 | *MutStr { s: &mut s }.s = "world"; [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] 74 | println!("{}", s); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var1` [INFO] [stdout] --> chapter02/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let var1 = &x; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `var2` is assigned to, but never used [INFO] [stdout] --> chapter02/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut var2 = &x; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_var2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `var2` is never read [INFO] [stdout] --> chapter02/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | var2 = &y; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapter02/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let y = &x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> chapter02/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | x = 43; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> chapter02/src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let z = (x1, y1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> chapter02/src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let x2 = x1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `s` as immutable because it is also borrowed as mutable [INFO] [stdout] --> chapter02/src/main.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 73 | *MutStr { s: &mut s }.s = "world"; [INFO] [stdout] | ------ mutable borrow occurs here [INFO] [stdout] 74 | println!("{}", s); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter02` (bin "chapter02" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chapter02` (bin "chapter02") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aeba50f12e0811af643d82fc9d657860ac8f0ceae63a1fe69aad65e0c75e4a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeba50f12e0811af643d82fc9d657860ac8f0ceae63a1fe69aad65e0c75e4a04", kill_on_drop: false }` [INFO] [stdout] aeba50f12e0811af643d82fc9d657860ac8f0ceae63a1fe69aad65e0c75e4a04