[INFO] cloning repository https://github.com/is-it-ayush/rust-concepts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/is-it-ayush/rust-concepts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/is-it-ayush/rust-concepts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/is-it-ayush/rust-concepts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts/objects/pack: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/is-it-ayush/rust-concepts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/is-it-ayush/rust-concepts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dc6f4585846be0241eb1ca963dee0b84e3c044c [INFO] checking is-it-ayush/rust-concepts against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis-it-ayush%2Frust-concepts" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/is-it-ayush/rust-concepts on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/is-it-ayush/rust-concepts [INFO] finished tweaking git repo https://github.com/is-it-ayush/rust-concepts [INFO] tweaked toml for git repo https://github.com/is-it-ayush/rust-concepts written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/is-it-ayush/rust-concepts 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 744afda81b8501c0c96629b187c0a0bd46ddb2ff5a645616d69b7e49fa68e6ba [INFO] running `Command { std: "docker" "start" "-a" "744afda81b8501c0c96629b187c0a0bd46ddb2ff5a645616d69b7e49fa68e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "744afda81b8501c0c96629b187c0a0bd46ddb2ff5a645616d69b7e49fa68e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744afda81b8501c0c96629b187c0a0bd46ddb2ff5a645616d69b7e49fa68e6ba", kill_on_drop: false }` [INFO] [stdout] 744afda81b8501c0c96629b187c0a0bd46ddb2ff5a645616d69b7e49fa68e6ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55564dc5a044b15b15f149295bb923fcbe34c336533495228d3bfd70b900d018 [INFO] running `Command { std: "docker" "start" "-a" "55564dc5a044b15b15f149295bb923fcbe34c336533495228d3bfd70b900d018", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking ownership v0.1.0 (/opt/rustwide/workdir/ownership) [INFO] [stderr] Checking data_types v0.1.0 (/opt/rustwide/workdir/data_types_and_control_flow) [INFO] [stderr] Checking structs v0.1.0 (/opt/rustwide/workdir/structs) [INFO] [stderr] Checking enums_and_pattern_matching v0.1.0 (/opt/rustwide/workdir/enums_and_pattern_matching) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ownership/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let s = String::from("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> ownership/src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let y = x; // This will copy the value from x and store it in y. Rust has a copy trait stored on the stack. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> ownership/src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let c = b.clone(); // This will copy instead of moving the declaration. Cloning is expensive. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ownership/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut a = String::from("Hello"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy` is never used [INFO] [stdout] --> ownership/src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn copy() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initial_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn initial_ownership() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn take_ownership(x: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `give_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn give_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_and_give_back_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn take_and_give_back_ownership(x: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `referencing_and_not_moving` is never used [INFO] [stdout] --> ownership/src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn referencing_and_not_moving(x: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutate_refrencing_without_taking_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn mutate_refrencing_without_taking_ownership(x: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restriction_one` is never used [INFO] [stdout] --> ownership/src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn restriction_one() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restriction_two` is never used [INFO] [stdout] --> ownership/src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn restriction_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> enums_and_pattern_matching/src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> enums_and_pattern_matching/src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> structs/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let name = user1.username; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> structs/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let user3 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> structs/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let name = user1.username; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> ownership/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let s = String::from("hello"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> structs/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let user3 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> structs/src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let width: u32 = 30; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> structs/src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let height: u32 = 50; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect3` [INFO] [stdout] --> structs/src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let rect3 = Rectangle::square(32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> structs/src/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | struct Color(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> structs/src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | struct Point(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> structs/src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let width: u32 = 30; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> structs/src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let height: u32 = 50; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect3` [INFO] [stdout] --> structs/src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let rect3 = Rectangle::square(32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> ownership/src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let y = x; // This will copy the value from x and store it in y. Rust has a copy trait stored on the stack. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> ownership/src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let c = b.clone(); // This will copy instead of moving the declaration. Cloning is expensive. [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ownership/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut a = String::from("Hello"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy` is never used [INFO] [stdout] --> ownership/src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn copy() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initial_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn initial_ownership() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn take_ownership(x: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `give_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn give_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_and_give_back_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn take_and_give_back_ownership(x: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `referencing_and_not_moving` is never used [INFO] [stdout] --> ownership/src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn referencing_and_not_moving(x: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutate_refrencing_without_taking_ownership` is never used [INFO] [stdout] --> ownership/src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn mutate_refrencing_without_taking_ownership(x: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restriction_one` is never used [INFO] [stdout] --> ownership/src/main.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn restriction_one() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restriction_two` is never used [INFO] [stdout] --> ownership/src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn restriction_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> enums_and_pattern_matching/src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> enums_and_pattern_matching/src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "55564dc5a044b15b15f149295bb923fcbe34c336533495228d3bfd70b900d018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55564dc5a044b15b15f149295bb923fcbe34c336533495228d3bfd70b900d018", kill_on_drop: false }` [INFO] [stdout] 55564dc5a044b15b15f149295bb923fcbe34c336533495228d3bfd70b900d018