[INFO] cloning repository https://github.com/jamesnicolas/rustbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamesnicolas/rustbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesnicolas%2Frustbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesnicolas%2Frustbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99b914fbfc822ba0eab9fda67aa9f529f3055199 [INFO] checking jamesnicolas/rustbook against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamesnicolas%2Frustbook" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamesnicolas/rustbook on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamesnicolas/rustbook [INFO] finished tweaking git repo https://github.com/jamesnicolas/rustbook [INFO] tweaked toml for git repo https://github.com/jamesnicolas/rustbook written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jamesnicolas/rustbook 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44658fa4541a1adb90675580a6d57d70d676bbc18cc280e5521c3697fa430071 [INFO] running `Command { std: "docker" "start" "-a" "44658fa4541a1adb90675580a6d57d70d676bbc18cc280e5521c3697fa430071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44658fa4541a1adb90675580a6d57d70d676bbc18cc280e5521c3697fa430071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44658fa4541a1adb90675580a6d57d70d676bbc18cc280e5521c3697fa430071", kill_on_drop: false }` [INFO] [stdout] 44658fa4541a1adb90675580a6d57d70d676bbc18cc280e5521c3697fa430071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddeaa9698a1ef61f716c2259196cb28dbb6d647e7ee3858d9764672cfe6ba370 [INFO] running `Command { std: "docker" "start" "-a" "ddeaa9698a1ef61f716c2259196cb28dbb6d647e7ee3858d9764672cfe6ba370", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir/minigrep) [INFO] [stderr] Checking coins v0.1.0 (/opt/rustwide/workdir/coins) [INFO] [stderr] Checking play v0.1.0 (/opt/rustwide/workdir/play) [INFO] [stderr] Checking lifetimes v0.1.0 (/opt/rustwide/workdir/lifetimes) [INFO] [stderr] Checking learn_enum v0.1.0 (/opt/rustwide/workdir/learn_enum) [INFO] [stderr] Checking rectangles v0.1.0 (/opt/rustwide/workdir/rectangles) [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir/hello_cargo) [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> learn_enum/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> learn_enum/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> learn_enum/src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn route(ip_kind: IpAddrKind) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> learn_enum/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn route(ip_kind: IpAddrKind) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking calc v0.1.0 (/opt/rustwide/workdir/calc) [INFO] [stderr] Checking lists v0.1.0 (/opt/rustwide/workdir/lists) [INFO] [stdout] warning: variants `Mul` and `Sub` are never constructed [INFO] [stdout] --> calc/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | Add(Box, Box), [INFO] [stdout] 4 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | str::to_lowercase("A"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = str::to_lowercase("A"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | "A".to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = "A".to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> learn_enum/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> learn_enum/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> lists/src/fourth.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 52 | self.head = Some(new [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 53 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> learn_enum/src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn route(ip_kind: IpAddrKind) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> lists/src/fourth.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 27 | impl List { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 48 | self.head.take().map(|old_head| { [INFO] [stdout] | - - unclosed delimiter [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] 49 | match old_head.borrow_mut().next.take() { [INFO] [stdout] 50 | Some(new_head) => { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 53 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mul` and `Sub` are never constructed [INFO] [stdout] --> calc/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Mul(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | Add(Box, Box), [INFO] [stdout] 4 | Sub(Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> lists/src/fourth.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 52 | self.head = Some(new [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] 53 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> lists/src/fourth.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 27 | impl List { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 48 | self.head.take().map(|old_head| { [INFO] [stdout] | - - unclosed delimiter [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] 49 | match old_head.borrow_mut().next.take() { [INFO] [stdout] 50 | Some(new_head) => { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 53 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib test) due to 2 previous errors [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | str::to_lowercase("A"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = str::to_lowercase("A"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | "A".to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = "A".to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ddeaa9698a1ef61f716c2259196cb28dbb6d647e7ee3858d9764672cfe6ba370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddeaa9698a1ef61f716c2259196cb28dbb6d647e7ee3858d9764672cfe6ba370", kill_on_drop: false }` [INFO] [stdout] ddeaa9698a1ef61f716c2259196cb28dbb6d647e7ee3858d9764672cfe6ba370