[INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/hackwithrama/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackwithrama/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0911880b8d8e09ddb52f0be03885bb82c1b2cd9b [INFO] checking hackwithrama/rust-basics against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackwithrama%2Frust-basics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hackwithrama/rust-basics [INFO] finished tweaking git repo https://github.com/hackwithrama/rust-basics [INFO] tweaked toml for git repo https://github.com/hackwithrama/rust-basics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hackwithrama/rust-basics on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hackwithrama/rust-basics 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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88188fc66ed1104e757abe0d3cf6567f3ef7f73a0a06bb95c1ddb8ce5c55afa1 [INFO] running `Command { std: "docker" "start" "-a" "88188fc66ed1104e757abe0d3cf6567f3ef7f73a0a06bb95c1ddb8ce5c55afa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88188fc66ed1104e757abe0d3cf6567f3ef7f73a0a06bb95c1ddb8ce5c55afa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88188fc66ed1104e757abe0d3cf6567f3ef7f73a0a06bb95c1ddb8ce5c55afa1", kill_on_drop: false }` [INFO] [stdout] 88188fc66ed1104e757abe0d3cf6567f3ef7f73a0a06bb95c1ddb8ce5c55afa1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b95fc65a316311946f98b074cb21a6accb062616f837c6cc8535d412d54ab6ff [INFO] running `Command { std: "docker" "start" "-a" "b95fc65a316311946f98b074cb21a6accb062616f837c6cc8535d412d54ab6ff", kill_on_drop: false }` [INFO] [stderr] Checking rust-basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/my_mpsc.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::mpsc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/mymutex.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | thread::{scope, spawn}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/myscopedthread.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, scope}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/my_mpsc.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::mpsc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/mymutex.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | thread::{scope, spawn}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/myscopedthread.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, scope}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/my_mpsc.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | let (tx, rx) = mpsc::channel::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_result1` [INFO] [stdout] --> src/my_mpsc.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let send_result1 = tx.send(250); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_result1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_result2` [INFO] [stdout] --> src/my_mpsc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let send_result2 = tx.send(150); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `x` is assigned to, but never used [INFO] [stdout] --> src/my_threads.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut x = 0u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/my_mpsc.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | let (tx, rx) = mpsc::channel::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_result1` [INFO] [stdout] --> src/my_mpsc.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let send_result1 = tx.send(250); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_result1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_result2` [INFO] [stdout] --> src/my_mpsc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let send_result2 = tx.send(150); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_result2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `x` is assigned to, but never used [INFO] [stdout] --> src/my_threads.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut x = 0u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/mymutex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let handle2 = scope.spawn(my_func2).join(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/mymutex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let handle2 = scope.spawn(my_func2).join(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chartype` is never read [INFO] [stdout] --> src/rust_enum.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut chartype: Option = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chartype` is never read [INFO] [stdout] --> src/rust_enum.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut chartype: Option = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_name` is never read [INFO] [stdout] --> src/closures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Person{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White` and `Green` are never constructed [INFO] [stdout] --> src/rust_struct_generic_trait.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum VehicleColor { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VehicleColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `year` is never read [INFO] [stdout] --> src/rust_struct_generic_trait.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Vehicle { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | year: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visited_europe` is never read [INFO] [stdout] --> src/rust_struct_generic_trait.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct Person<'p> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | visited_europe: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pet` and `pet2` are never read [INFO] [stdout] --> src/test_traits.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Person [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pet: PetType, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pet2: PetType2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/test_traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cat {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bear` is never constructed [INFO] [stdout] --> src/test_traits.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Bear { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bark` is never used [INFO] [stdout] --> src/test_traits.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Dog { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 53 | fn bark(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_name` is never read [INFO] [stdout] --> src/closures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Person{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White` and `Green` are never constructed [INFO] [stdout] --> src/rust_struct_generic_trait.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum VehicleColor { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VehicleColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `year` is never read [INFO] [stdout] --> src/rust_struct_generic_trait.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Vehicle { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | year: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `visited_europe` is never read [INFO] [stdout] --> src/rust_struct_generic_trait.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 72 | struct Person<'p> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | visited_europe: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pet` and `pet2` are never read [INFO] [stdout] --> src/test_traits.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct Person [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pet: PetType, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pet2: PetType2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/test_traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cat {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bear` is never constructed [INFO] [stdout] --> src/test_traits.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Bear { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bark` is never used [INFO] [stdout] --> src/test_traits.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Dog { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 53 | fn bark(&self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "b95fc65a316311946f98b074cb21a6accb062616f837c6cc8535d412d54ab6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95fc65a316311946f98b074cb21a6accb062616f837c6cc8535d412d54ab6ff", kill_on_drop: false }` [INFO] [stdout] b95fc65a316311946f98b074cb21a6accb062616f837c6cc8535d412d54ab6ff