[INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [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 1) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples/branches/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/applypatch-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples/hooks/applypatch-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/mDanone/rust_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mDanone/rust_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 358eb452f771744f523b6466e2acb94e90181972 [INFO] checking mDanone/rust_examples against master#5dfe648b45659db8dd0a673a806bba3df84aa3af for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmDanone%2Frust_examples" "/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/mDanone/rust_examples on toolchain 5dfe648b45659db8dd0a673a806bba3df84aa3af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mDanone/rust_examples [INFO] finished tweaking git repo https://github.com/mDanone/rust_examples [INFO] tweaked toml for git repo https://github.com/mDanone/rust_examples written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mDanone/rust_examples 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" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e49a0191ffbb80450da6d136c9a6d0517d178df762c2eb05e12848b911af28f3 [INFO] running `Command { std: "docker" "start" "-a" "e49a0191ffbb80450da6d136c9a6d0517d178df762c2eb05e12848b911af28f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e49a0191ffbb80450da6d136c9a6d0517d178df762c2eb05e12848b911af28f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49a0191ffbb80450da6d136c9a6d0517d178df762c2eb05e12848b911af28f3", kill_on_drop: false }` [INFO] [stdout] e49a0191ffbb80450da6d136c9a6d0517d178df762c2eb05e12848b911af28f3 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d1263015241f57f5ba660f54178b6898fcdb28eb116cd7f0be6ea60012e6c6 [INFO] running `Command { std: "docker" "start" "-a" "d6d1263015241f57f5ba660f54178b6898fcdb28eb116cd7f0be6ea60012e6c6", kill_on_drop: false }` [INFO] [stderr] Checking vectors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `is_article` [INFO] [stdout] --> src/generics/generics.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn returns_summarizable(is_article: bool) -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_article` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_article` [INFO] [stdout] --> src/generics/generics.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn returns_summarizable(is_article: bool) -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_article` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point1` [INFO] [stdout] --> src/generics/generics.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let point1 = Point{x: 1, y: 3}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2` [INFO] [stdout] --> src/generics/generics.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let point2 = Point{x: 'h', y: 'c'}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point1` [INFO] [stdout] --> src/generics/generics.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let point1 = Point{x: 1, y: 3}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2` [INFO] [stdout] --> src/generics/generics.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let point2 = Point{x: 'h', y: 'c'}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generics/lifetime_references.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let i = ImportantExcerpt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let x = SomeValues::Int(3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/exceptions/exceptions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let greeting_file = match greeting_file_result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_with_wrap` [INFO] [stdout] --> src/exceptions/exceptions.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let file_with_wrap = File::open("hello2.txt").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_with_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_with_expect` [INFO] [stdout] --> src/exceptions/exceptions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let file_with_expect = File::open("expected").expect("Some Error message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_with_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/exceptions/exceptions.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let username = username_result.expect("Can not read some file!"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generics/lifetime_references.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let i = ImportantExcerpt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let x = SomeValues::Int(3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/exceptions/exceptions.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(err) => continue, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/exceptions/exceptions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let greeting_file = match greeting_file_result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_with_wrap` [INFO] [stdout] --> src/exceptions/exceptions.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let file_with_wrap = File::open("hello2.txt").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_with_wrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_with_expect` [INFO] [stdout] --> src/exceptions/exceptions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let file_with_expect = File::open("expected").expect("Some Error message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_with_expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/exceptions/exceptions.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let username = username_result.expect("Can not read some file!"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/exceptions/exceptions.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(err) => continue, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/collections/hash_maps.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let score = scores.get(&team_name).copied().unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/collections/hash_maps.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let score = scores.get(&team_name).copied().unwrap_or(0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/generics/lifetime_references.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn longest_with_an_announcement<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpAddrKind` is never used [INFO] [stdout] --> src/enums/enums.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums/enums.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 9 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> src/enums/enums.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Message{ [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Move {x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Write(String), [INFO] [stdout] 10 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parent` is never used [INFO] [stdout] --> src/enums/enums.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn test_parent(){} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_child` is never used [INFO] [stdout] --> src/enums/enums.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_child(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_of_number_resolving` is never used [INFO] [stdout] --> src/exceptions/exceptions.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn part_of_number_resolving(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Alaska` is never constructed [INFO] [stdout] --> src/control_flow/control_flow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Alabama, [INFO] [stdout] 4 | Alaska [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 `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/control_flow/control_flow.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_whitelist` is never used [INFO] [stdout] --> src/scopes/scopes.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_to_whitelist(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/scopes/scopes.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eat_at_restaurant(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/generics/lifetime_references.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn longest_with_an_announcement<'a, T>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/generics/lifetime_references.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpAddrKind` is never used [INFO] [stdout] --> src/enums/enums.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums/enums.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 9 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> src/enums/enums.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Message{ [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Move {x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Write(String), [INFO] [stdout] 10 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parent` is never used [INFO] [stdout] --> src/enums/enums.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn test_parent(){} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_child` is never used [INFO] [stdout] --> src/enums/enums.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_child(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_of_number_resolving` is never used [INFO] [stdout] --> src/exceptions/exceptions.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn part_of_number_resolving(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Alaska` is never constructed [INFO] [stdout] --> src/control_flow/control_flow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum UsState{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Alabama, [INFO] [stdout] 4 | Alaska [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 `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/control_flow/control_flow.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_whitelist` is never used [INFO] [stdout] --> src/scopes/scopes.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_to_whitelist(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/scopes/scopes.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn eat_at_restaurant(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/tasks.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | stdin().read_line(&mut input_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = stdin().read_line(&mut input_string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/collections/tasks.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | stdin().read_line(&mut input_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = stdin().read_line(&mut input_string); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Guess`, `Rectangle`, `adder`, `greeting`, and `prints_and_returns_10` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | adder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | greeting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Guess, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | prints_and_returns_10 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "d6d1263015241f57f5ba660f54178b6898fcdb28eb116cd7f0be6ea60012e6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d1263015241f57f5ba660f54178b6898fcdb28eb116cd7f0be6ea60012e6c6", kill_on_drop: false }` [INFO] [stdout] d6d1263015241f57f5ba660f54178b6898fcdb28eb116cd7f0be6ea60012e6c6