[INFO] cloning repository https://github.com/yeomiji/rust-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yeomiji/rust-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeomiji%2Frust-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeomiji%2Frust-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ed8596b548002c035f91cf0d31c9e5084e986c9 [INFO] checking yeomiji/rust-notes against try#81185c2d21df0ba45fd33e65bbdce76dc0d89bd9 for pr-139646 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeomiji%2Frust-notes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yeomiji/rust-notes on toolchain 81185c2d21df0ba45fd33e65bbdce76dc0d89bd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yeomiji/rust-notes [INFO] finished tweaking git repo https://github.com/yeomiji/rust-notes [INFO] tweaked toml for git repo https://github.com/yeomiji/rust-notes written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yeomiji/rust-notes 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" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8077c12057b9f425631c7c87290cf1178c973eed60596d0c13f87f99f9dba47f [INFO] running `Command { std: "docker" "start" "-a" "8077c12057b9f425631c7c87290cf1178c973eed60596d0c13f87f99f9dba47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8077c12057b9f425631c7c87290cf1178c973eed60596d0c13f87f99f9dba47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8077c12057b9f425631c7c87290cf1178c973eed60596d0c13f87f99f9dba47f", kill_on_drop: false }` [INFO] [stdout] 8077c12057b9f425631c7c87290cf1178c973eed60596d0c13f87f99f9dba47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+81185c2d21df0ba45fd33e65bbdce76dc0d89bd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf2ec40fecafb8f1fa78ad122457073dbc20d7f39bbde854834130fa564137cf [INFO] running `Command { std: "docker" "start" "-a" "cf2ec40fecafb8f1fa78ad122457073dbc20d7f39bbde854834130fa564137cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking ch14_guessing_game_yeomiji v0.1.0 (/opt/rustwide/workdir/src/ch14) [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir/src/ch12/minigrep) [INFO] [stderr] Checking restaurant v0.1.0 (/opt/rustwide/workdir/src/ch7/restaurant) [INFO] [stderr] Checking adder v0.1.0 (/opt/rustwide/workdir/src/ch11/adder) [INFO] [stderr] Checking ch18 v0.1.0 (/opt/rustwide/workdir/src/ch18) [INFO] [stderr] Checking ch16 v0.1.0 (/opt/rustwide/workdir/src/ch16) [INFO] [stderr] Checking ch15 v0.1.0 (/opt/rustwide/workdir/src/ch15) [INFO] [stderr] Checking workspaces v0.1.0 (/opt/rustwide/workdir/src/ch14/workspaces) [INFO] [stderr] Checking ch17 v0.1.0 (/opt/rustwide/workdir/src/ch17) [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/ch18/src/main.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | Point {x, ..} => println!("x is {}", x); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 194 - Point {x, ..} => println!("x is {}", x); [INFO] [stdout] 194 + Point {x, ..} => println!("x is {}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/ch18/src/main.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | Point {x, ..} => println!("x is {}", x); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 194 - Point {x, ..} => println!("x is {}", x); [INFO] [stdout] 194 + Point {x, ..} => println!("x is {}", x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/ch14/src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/ch14/src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/ch18/src/main.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | println!("at the end, x = {:?}, y = {y}", x) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 220 | [INFO] [stdout] 221 | let x = 4; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/ch18/src/main.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | println!("at the end, x = {:?}, y = {y}", x) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 220 | [INFO] [stdout] 221 | let x = 4; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap as HashMap2` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap as HashMap2; // can rename imports in case of collision [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{self, cmp::Ordering, io}; // defined in one line, self means "std" in this context [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::*; // bring in everything recursively [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap as HashMap2` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap as HashMap2; // can rename imports in case of collision [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{self, cmp::Ordering, io}; // defined in one line, self means "std" in this context [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::*; // bring in everything recursively [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/ch16/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let order1 = back_of_house::Appetizer::Soup; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order2` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let order2 = back_of_house::Appetizer::Salad; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house/hosting.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hi_grandpa` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house/hosting/grandchild.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn hi_grandpa() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn take_order() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Breakfast { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 28 | pub toast: String, [INFO] [stdout] 29 | seasonal_fruit: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let order1 = back_of_house::Appetizer::Soup; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order2` [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let order2 = back_of_house::Appetizer::Salad; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house/hosting.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hi_grandpa` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house/hosting/grandchild.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn hi_grandpa() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn take_order() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/ch7/restaurant/src/front_of_house.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> src/ch7/restaurant/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Breakfast { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 28 | pub toast: String, [INFO] [stdout] 29 | seasonal_fruit: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/ch14_guessing_game_yeomiji-66ebaf4354e67f76.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/ch14_guessing_game_yeomiji-66ebaf4354e67f76/dep-lib-ch14_guessing_game_yeomiji` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0063]: missing field `z` in initializer of `main::Point` [INFO] [stdout] --> src/ch18/src/main.rs:152:58 [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ^^^^^ missing `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `z` [INFO] [stdout] --> src/ch18/src/main.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ^^^^^^^^^^^^^^ missing field `z` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, z }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | +++ [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, z: _ }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ++++++ [INFO] [stdout] help: or always ignore missing fields here [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, .. }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/ch16/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `restaurant` (lib test); 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name restaurant --edition=2021 src/ch7/restaurant/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=315c1487c621efd0 -C extra-filename=-89944c73e0dbe4e0 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/ch14/src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ch18` (bin "ch18") due to 4 previous errors [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/restaurant-2a611185abbf874f.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/restaurant-2a611185abbf874f/dep-lib-restaurant` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stdout] error[E0063]: missing field `z` in initializer of `main::Point` [INFO] [stdout] --> src/ch18/src/main.rs:152:58 [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ^^^^^ missing `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ch11/adder/src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn greeting(name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `z` [INFO] [stdout] --> src/ch18/src/main.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ^^^^^^^^^^^^^^ missing field `z` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, z }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | +++ [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, z: _ }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ++++++ [INFO] [stdout] help: or always ignore missing fields here [INFO] [stdout] | [INFO] [stdout] 152 | let ((feet, inches), Point { x, y, .. }) = ((3, 10), Point {x: 3, y: -10}); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ch11/adder/src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn greeting(name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/ch16-3f0fd14a99d05560.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/ch16-3f0fd14a99d05560/dep-test-bin-ch16` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] error: could not compile `ch14_guessing_game_yeomiji` (lib test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name ch14_guessing_game_yeomiji --edition=2021 src/ch14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d317bb2df14ec525 -C extra-filename=-214d88910a49a9dc --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/ch15/src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let d = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ch15/src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let b = Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ch15/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let c = Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> src/ch17/src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 164 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adder` (lib); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name adder --edition=2021 src/ch11/adder/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=156cb33b3b0d0e26 -C extra-filename=-12e0e6fea02d5551 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmeta9QlFvm" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adder` (lib test); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name adder --edition=2021 src/ch11/adder/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=62d23324a1f1239b -C extra-filename=-498ad512666a3b1f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] error: could not compile `ch17` (bin "ch17"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name ch17 --edition=2021 src/ch17/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8796b34cd6ccc30f -C extra-filename=-c35ff61bdcc2bf79 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> src/ch15/src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 124 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | parent: RefCell>, [INFO] [stdout] 126 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ch18` (bin "ch18" test) due to 4 previous errors [INFO] [stderr] error: could not compile `workspaces` (bin "workspaces") due to 1 previous error [INFO] [stderr] error: could not compile `libc` (build script) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name build_script_build --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.126/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=0e16cdba61ce6dfb -C extra-filename=-281d54a3f7c61f62 --out-dir /opt/rustwide/target/debug/build/libc-281d54a3f7c61f62 -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (exit status: 101) [INFO] [stderr] error: could not compile `ch15` (bin "ch15" test); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name ch15 --edition=2021 src/ch15/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ef9a1004fd0a30ff -C extra-filename=-24e9b9ef965ecb84 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] error: could not compile `ch16` (bin "ch16"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/81185c2d21df0ba45fd33e65bbdce76dc0d89bd9/bin/rustc --crate-name ch16 --edition=2021 src/ch16/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=18e43305ae3bfa88 -C extra-filename=-e345d55a0c007bce --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "cf2ec40fecafb8f1fa78ad122457073dbc20d7f39bbde854834130fa564137cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2ec40fecafb8f1fa78ad122457073dbc20d7f39bbde854834130fa564137cf", kill_on_drop: false }` [INFO] [stdout] cf2ec40fecafb8f1fa78ad122457073dbc20d7f39bbde854834130fa564137cf