[INFO] cloning repository https://github.com/elumbantoruan/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elumbantoruan/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6610431feac214637f2a6682772c69299c47e37c [INFO] checking elumbantoruan/learn-rust against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felumbantoruan%2Flearn-rust" "/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/elumbantoruan/learn-rust on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elumbantoruan/learn-rust [INFO] finished tweaking git repo https://github.com/elumbantoruan/learn-rust [INFO] tweaked toml for git repo https://github.com/elumbantoruan/learn-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elumbantoruan/learn-rust 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14d6115cd473432114fcf6f11c681c6642c460937518a491bb2db4c6f468edde [INFO] running `Command { std: "docker" "start" "-a" "14d6115cd473432114fcf6f11c681c6642c460937518a491bb2db4c6f468edde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14d6115cd473432114fcf6f11c681c6642c460937518a491bb2db4c6f468edde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d6115cd473432114fcf6f11c681c6642c460937518a491bb2db4c6f468edde", kill_on_drop: false }` [INFO] [stdout] 14d6115cd473432114fcf6f11c681c6642c460937518a491bb2db4c6f468edde [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50085610933d38451581827f9f73a3743e7f7faf410e4a1136fe515f73b99404 [INFO] running `Command { std: "docker" "start" "-a" "50085610933d38451581827f9f73a3743e7f7faf410e4a1136fe515f73b99404", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ch07-backyard v0.1.0 (/opt/rustwide/workdir/ch07-backyard) [INFO] [stderr] Checking ch03-variables v0.1.0 (/opt/rustwide/workdir/ch03-variables) [INFO] [stderr] Checking ch06-enum-pattern-matching v0.1.0 (/opt/rustwide/workdir/ch06-enum-pattern-matching) [INFO] [stderr] Checking ch01-hello-cargo v0.1.0 (/opt/rustwide/workdir/ch01-hello-cargo) [INFO] [stderr] Checking ch04-ownership v0.1.0 (/opt/rustwide/workdir/ch04-ownership) [INFO] [stderr] Checking ch05-structs v0.1.0 (/opt/rustwide/workdir/ch05-structs) [INFO] [stdout] warning: unused import: `std::sync::OnceState` [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceState` [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::OnceState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 68 - V4(u8, u8, u8, u8), [INFO] [stdout] 68 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - V6(String), [INFO] [stdout] 69 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Write(String), [INFO] [stdout] 76 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 74 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | Write(String), [INFO] [stdout] 77 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `California` is never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum USState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 88 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 93 | Penny, [INFO] [stdout] 94 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 68 - V4(u8, u8, u8, u8), [INFO] [stdout] 68 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - V6(String), [INFO] [stdout] 69 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Write(String), [INFO] [stdout] 76 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 74 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | Write(String), [INFO] [stdout] 77 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `California` is never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum USState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 88 | California, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> ch06-enum-pattern-matching/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 93 | Penny, [INFO] [stdout] 94 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaZWBApo/full.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ppv-lite86` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetalwC22s/full.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libc` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "50085610933d38451581827f9f73a3743e7f7faf410e4a1136fe515f73b99404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50085610933d38451581827f9f73a3743e7f7faf410e4a1136fe515f73b99404", kill_on_drop: false }` [INFO] [stdout] 50085610933d38451581827f9f73a3743e7f7faf410e4a1136fe515f73b99404