[INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/xeron56/rust_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeron56/rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 499cbd3737848ba7149ddef13b7b9733bec62aec [INFO] checking xeron56/rust_programming against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming" "/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/xeron56/rust_programming on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xeron56/rust_programming [INFO] finished tweaking git repo https://github.com/xeron56/rust_programming [INFO] tweaked toml for git repo https://github.com/xeron56/rust_programming written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xeron56/rust_programming 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" "+af54b6062f33b99e418444700f3a823ef0214052" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] checking xeron56/rust_programming against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/chapter4.rs [INFO] [stderr] error: unable to write file src/chapter5.md [INFO] [stderr] error: unable to write file src/chapter5.rs [INFO] [stderr] error: unable to write file src/chapter6.md [INFO] [stderr] error: unable to write file src/chapter6.rs [INFO] [stderr] error: unable to write file src/chapter7.md [INFO] [stderr] error: unable to write file src/chapter7.rs [INFO] [stderr] error: unable to write file src/chapter8.md [INFO] [stderr] error: unable to write file src/chapter9.md [INFO] [stderr] error: unable to write file src/chapter9.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking xeron56/rust_programming against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] /workspace/builds/worker-5-tc2/source/.git/hooks/: No space left on device [INFO] checking xeron56/rust_programming against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeron56%2Frust_programming" "/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/xeron56/rust_programming on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xeron56/rust_programming [INFO] finished tweaking git repo https://github.com/xeron56/rust_programming [INFO] tweaked toml for git repo https://github.com/xeron56/rust_programming written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xeron56/rust_programming 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" "+af54b6062f33b99e418444700f3a823ef0214052" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d633e8897e5fd432be47dfbd15fb5b68e7421eb4ea400490d172f56c6537393d [INFO] running `Command { std: "docker" "start" "-a" "d633e8897e5fd432be47dfbd15fb5b68e7421eb4ea400490d172f56c6537393d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d633e8897e5fd432be47dfbd15fb5b68e7421eb4ea400490d172f56c6537393d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d633e8897e5fd432be47dfbd15fb5b68e7421eb4ea400490d172f56c6537393d", kill_on_drop: false }` [INFO] [stdout] d633e8897e5fd432be47dfbd15fb5b68e7421eb4ea400490d172f56c6537393d [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5534fc7bd2226d961d2630c64e30c8547a3d751074a7a964170e8fc71e38f144 [INFO] running `Command { std: "docker" "start" "-a" "5534fc7bd2226d961d2630c64e30c8547a3d751074a7a964170e8fc71e38f144", kill_on_drop: false }` [INFO] [stderr] Checking rust_programming v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/chapter1.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let a: i32 = 42; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/chapter1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let b: u8 = 255; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/chapter1.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let a: i32 = 42; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/chapter1.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let x: f64 = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chapter1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let y: f32 = 2.71828; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_true` [INFO] [stdout] --> src/chapter1.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let is_true: bool = true; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_false` [INFO] [stdout] --> src/chapter1.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let is_false: bool = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/chapter1.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let b: u8 = 255; [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/chapter1.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let c: char = 'A'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> src/chapter1.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let emoji: char = '😀'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_emoji` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/chapter1.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let x: f64 = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chapter1.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let y: f32 = 2.71828; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_true` [INFO] [stdout] --> src/chapter1.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let is_true: bool = true; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_false` [INFO] [stdout] --> src/chapter1.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let is_false: bool = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/chapter1.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let c: char = 'A'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> src/chapter1.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let emoji: char = '😀'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_emoji` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/chapter2.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s2 = s1; // s1 is no longer valid [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/chapter2.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s2 = s1; // s1 is no longer valid [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chapter3.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let y: Option = None; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/chapter3.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let y: Option = None; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/chapter5.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s2 = s1; // s1 is no longer valid [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/chapter5.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let s2 = s1; // s1 is no longer valid [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chapter5.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut v = vec![1, 2, 3]; [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: variable does not need to be mutable [INFO] [stdout] --> src/chapter5.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut v = vec![1, 2, 3]; [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: field `content` is never read [INFO] [stdout] --> src/chapter6.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/chapter6.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/chapter6.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct Range { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 55 | start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_file` is never used [INFO] [stdout] --> src/chapter7.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn open_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_value` is never used [INFO] [stdout] --> src/chapter7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_optional_value(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/chapter7.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/chapter7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/chapter7.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() -> Result<(), CliError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/chapter6.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/chapter6.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start` is never read [INFO] [stdout] --> src/chapter6.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct Range { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 55 | start: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_file` is never used [INFO] [stdout] --> src/chapter7.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn open_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optional_value` is never used [INFO] [stdout] --> src/chapter7.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_optional_value(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/chapter7.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/chapter7.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/chapter7.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() -> Result<(), CliError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "5534fc7bd2226d961d2630c64e30c8547a3d751074a7a964170e8fc71e38f144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5534fc7bd2226d961d2630c64e30c8547a3d751074a7a964170e8fc71e38f144", kill_on_drop: false }` [INFO] [stdout] 5534fc7bd2226d961d2630c64e30c8547a3d751074a7a964170e8fc71e38f144