[INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [INFO] [stderr] fatal: unable to update HEAD [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/refs/heads: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/frankvanbever/rust-book-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankvanbever/rust-book-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1938c41deb73b94b7e1f23c27399ac2b9eff1443 [INFO] checking frankvanbever/rust-book-notes against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankvanbever%2Frust-book-notes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frankvanbever/rust-book-notes on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frankvanbever/rust-book-notes [INFO] finished tweaking git repo https://github.com/frankvanbever/rust-book-notes [INFO] tweaked toml for git repo https://github.com/frankvanbever/rust-book-notes written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/frankvanbever/rust-book-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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53915c1068147453e2b568d56ed11dec08d3675530dbbcf179015f6bcae204e4 [INFO] running `Command { std: "docker" "start" "-a" "53915c1068147453e2b568d56ed11dec08d3675530dbbcf179015f6bcae204e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53915c1068147453e2b568d56ed11dec08d3675530dbbcf179015f6bcae204e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53915c1068147453e2b568d56ed11dec08d3675530dbbcf179015f6bcae204e4", kill_on_drop: false }` [INFO] [stdout] 53915c1068147453e2b568d56ed11dec08d3675530dbbcf179015f6bcae204e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25176c442af9ac1bb5d57b1714534667e7fbb7591275812aeac078340ee7c000 [INFO] running `Command { std: "docker" "start" "-a" "25176c442af9ac1bb5d57b1714534667e7fbb7591275812aeac078340ee7c000", kill_on_drop: false }` [INFO] [stderr] Checking restaurant v0.1.0 (/opt/rustwide/workdir/ch7-packages-modules-crates/restaurant) [INFO] [stderr] Checking string_stuff v0.1.0 (/opt/rustwide/workdir/ch4-understanding_ownership/string_stuff) [INFO] [stderr] Checking hashmaps v0.1.0 (/opt/rustwide/workdir/ch8-common-collections/hashmaps) [INFO] [stderr] Checking ip-addr-kind v0.1.0 (/opt/rustwide/workdir/ch6-enums-pattern-matching/ip-addr-kind) [INFO] [stderr] Checking control_flow v0.1.0 (/opt/rustwide/workdir/control_flow) [INFO] [stderr] Checking exercise1 v0.1.0 (/opt/rustwide/workdir/ch8-common-collections/exercise1) [INFO] [stderr] Checking option-enum v0.1.0 (/opt/rustwide/workdir/ch6-enums-pattern-matching/option-enum) [INFO] [stderr] Checking exercise3 v0.1.0 (/opt/rustwide/workdir/ch8-common-collections/exercise3) [INFO] [stderr] Checking comments v0.1.0 (/opt/rustwide/workdir/comments) [INFO] [stderr] Checking ownership_and_functions v0.1.0 (/opt/rustwide/workdir/ch4-understanding_ownership/ownership_and_functions) [INFO] [stderr] Checking return_values_and_scope v0.1.0 (/opt/rustwide/workdir/ch4-understanding_ownership/return_values_and_scope) [INFO] [stderr] Checking strings v0.1.0 (/opt/rustwide/workdir/ch8-common-collections/strings) [INFO] [stderr] error: failed to write `/opt/rustwide/target/debug/.fingerprint/strings-a992df40b987f05f/invoked.timestamp` [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[E0277]: `IpAddr` doesn't implement `std::fmt::Display` [INFO] [stdout] --> ch6-enums-pattern-matching/ip-addr-kind/src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | print!("{}", ip); [INFO] [stdout] | ^^ `IpAddr` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `IpAddr` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let order1 = super::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] --> ch7-packages-modules-crates/restaurant/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let order2 = super::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 `deliver_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn deliver_order() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ip-addr-kind` (bin "ip-addr-kind" test) due to 1 previous error [INFO] [stdout] warning: struct `Breakfast` is never constructed [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Breakfast { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Appetizer` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Appetizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `summer` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Breakfast { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn summer(toast: &str) -> Breakfast { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_incorrect_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn fix_incorrect_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cook_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn cook_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let order1 = super::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] --> ch7-packages-modules-crates/restaurant/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let order2 = super::back_of_house::Appetizer::Salad; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Option` to `i8` [INFO] [stdout] --> ch6-enums-pattern-matching/option-enum/src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let sum = x + y; [INFO] [stdout] | ^ no implementation for `i8 + Option` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add>` is not implemented for `i8` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&i8` implements `Add` [INFO] [stdout] `&i8` implements `Add` [INFO] [stdout] `i8` implements `Add<&i8>` [INFO] [stdout] `i8` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ch8-common-collections/strings/src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ch8-common-collections/strings/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let s = data.to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ch8-common-collections/strings/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s = "Initial contents".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ch8-common-collections/strings/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let s = String::from("initial contents"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `s` [INFO] [stdout] --> ch4-understanding_ownership/ownership_and_functions/src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 2 | let s = String::from("hello"); // s comes into scope [INFO] [stdout] | - move occurs because `s` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 3 | [INFO] [stdout] 4 | takes_ownership(s); [INFO] [stdout] | - value moved here [INFO] [stdout] ... [INFO] [stdout] 7 | println!("{s}"); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `takes_ownership` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> ch4-understanding_ownership/ownership_and_functions/src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | fn takes_ownership(some_string: String) { [INFO] [stdout] | --------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 4 | takes_ownership(s.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ch8-common-collections/strings/src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deliver_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn deliver_order() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Breakfast` is never constructed [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Breakfast { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Appetizer` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Appetizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ownership_and_functions` (bin "ownership_and_functions") due to 1 previous error [INFO] [stdout] warning: associated function `summer` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Breakfast { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn summer(toast: &str) -> Breakfast { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `option-enum` (bin "option-enum") due to 1 previous error [INFO] [stdout] warning: function `fix_incorrect_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn fix_incorrect_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cook_order` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn cook_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/control_flow-ed91f70b1f0915b1.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/control_flow-ed91f70b1f0915b1/dep-bin-control_flow` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> ch7-packages-modules-crates/restaurant/src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaFwH5wk" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaorvvqB" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `comments` (bin "comments" test) due to 1 previous error [INFO] [stderr] error: could not compile `exercise3` (bin "exercise3") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "25176c442af9ac1bb5d57b1714534667e7fbb7591275812aeac078340ee7c000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25176c442af9ac1bb5d57b1714534667e7fbb7591275812aeac078340ee7c000", kill_on_drop: false }` [INFO] [stdout] 25176c442af9ac1bb5d57b1714534667e7fbb7591275812aeac078340ee7c000