[INFO] cloning repository https://github.com/donjne/rust_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/donjne/rust_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonjne%2Frust_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonjne%2Frust_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35b17f4d244e9277af4de28159bf991f080dd81e [INFO] building donjne/rust_tutorial against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonjne%2Frust_tutorial" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/donjne/rust_tutorial on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/donjne/rust_tutorial [INFO] finished tweaking git repo https://github.com/donjne/rust_tutorial [INFO] tweaked toml for git repo https://github.com/donjne/rust_tutorial written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/donjne/rust_tutorial 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ed5e1597bd53335ca368c0f7f251014973ead09fd6615cf8d0b36e888e108eb [INFO] running `Command { std: "docker" "start" "-a" "5ed5e1597bd53335ca368c0f7f251014973ead09fd6615cf8d0b36e888e108eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ed5e1597bd53335ca368c0f7f251014973ead09fd6615cf8d0b36e888e108eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed5e1597bd53335ca368c0f7f251014973ead09fd6615cf8d0b36e888e108eb", kill_on_drop: false }` [INFO] [stdout] 5ed5e1597bd53335ca368c0f7f251014973ead09fd6615cf8d0b36e888e108eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3013dd57f58295b621515d6d6b17c4cdd1eac62966813cafa39e553e9dfcf7fa [INFO] running `Command { std: "docker" "start" "-a" "3013dd57f58295b621515d6d6b17c4cdd1eac62966813cafa39e553e9dfcf7fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/statements.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let y = 6; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_to_nothing` [INFO] [stdout] --> src/bin/dangling.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let reference_to_nothing = dangle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/bin/floating.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let sum = 5 + 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difference` [INFO] [stdout] --> src/bin/floating.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let difference = 95.5 - 4.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/bin/floating.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let product = 4 * 30; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quotient` [INFO] [stdout] --> src/bin/floating.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let quotient = 56.7 / 32.2; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated` [INFO] [stdout] --> src/bin/floating.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let truncated = -5 / 3; // Results in -1 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/bin/floating.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let remainder = 43 % 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/bin/floating.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/floating.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let f: bool = false; // with explicit type annotation [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/floating.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/floating.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let z: char = 'ℤ'; // with explicit type annotation [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_eyed_cat` [INFO] [stdout] --> src/bin/floating.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let heart_eyed_cat = '😻'; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/floating.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/floating.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `five_hundred` [INFO] [stdout] --> src/bin/floating.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let five_hundred = x.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six_point_four` [INFO] [stdout] --> src/bin/floating.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let six_point_four = x.1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/bin/floating.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let one = x.2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anexample` [INFO] [stdout] --> src/bin/floating.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let anexample = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anexample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/floating.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/floating.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let a = [3; 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/bin/floating.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let first = a[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/bin/floating.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let second = a[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `booleans` is never used [INFO] [stdout] --> src/bin/floating.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn booleans() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `characters` is never used [INFO] [stdout] --> src/bin/floating.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn characters() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuples` is never used [INFO] [stdout] --> src/bin/floating.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn tuples() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_example_two` is never used [INFO] [stdout] --> src/bin/floating.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn tuple_example_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> src/bin/floating.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn array() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accessing_array` is never used [INFO] [stdout] --> src/bin/floating.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn accessing_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guess` [INFO] [stdout] --> src/bin/variables.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let guess: u32 = "42".parse().expect("Not a number!"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/bin/return_values_and_scope.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let s1 = gives_ownership(); // gives_ownership moves its return [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_array` is never used [INFO] [stdout] --> src/bin/loop.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn while_array() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop` is never used [INFO] [stdout] --> src/bin/loop.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn for_loop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_sequenceandrev` is never used [INFO] [stdout] --> src/bin/loop.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn for_sequenceandrev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "3013dd57f58295b621515d6d6b17c4cdd1eac62966813cafa39e553e9dfcf7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3013dd57f58295b621515d6d6b17c4cdd1eac62966813cafa39e553e9dfcf7fa", kill_on_drop: false }` [INFO] [stdout] 3013dd57f58295b621515d6d6b17c4cdd1eac62966813cafa39e553e9dfcf7fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72145801907f2d78078f18a1d6e8a9f9e2b023742a54c1c9f3d662959ef2fa2d [INFO] running `Command { std: "docker" "start" "-a" "72145801907f2d78078f18a1d6e8a9f9e2b023742a54c1c9f3d662959ef2fa2d", kill_on_drop: false }` [INFO] [stderr] Compiling rust_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/bin/floating.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let sum = 5 + 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difference` [INFO] [stdout] --> src/bin/floating.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let difference = 95.5 - 4.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/bin/floating.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let product = 4 * 30; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quotient` [INFO] [stdout] --> src/bin/floating.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let quotient = 56.7 / 32.2; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated` [INFO] [stdout] --> src/bin/floating.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let truncated = -5 / 3; // Results in -1 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/bin/floating.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let remainder = 43 % 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/bin/floating.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bin/floating.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let f: bool = false; // with explicit type annotation [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/floating.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let c = 'z'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/floating.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let z: char = 'ℤ'; // with explicit type annotation [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_eyed_cat` [INFO] [stdout] --> src/bin/floating.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let heart_eyed_cat = '😻'; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/floating.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/floating.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `five_hundred` [INFO] [stdout] --> src/bin/floating.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let five_hundred = x.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six_point_four` [INFO] [stdout] --> src/bin/floating.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let six_point_four = x.1; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/bin/floating.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let one = x.2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anexample` [INFO] [stdout] --> src/bin/floating.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let anexample = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anexample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/floating.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/floating.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let a = [3; 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/bin/floating.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let first = a[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/bin/floating.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let second = a[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_array` is never used [INFO] [stdout] --> src/bin/loop.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | fn while_array() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `booleans` is never used [INFO] [stdout] --> src/bin/floating.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn booleans() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop` is never used [INFO] [stdout] --> src/bin/loop.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn for_loop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `characters` is never used [INFO] [stdout] --> src/bin/floating.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn characters() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuples` is never used [INFO] [stdout] --> src/bin/floating.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn tuples() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_example_two` is never used [INFO] [stdout] --> src/bin/floating.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn tuple_example_two() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> src/bin/floating.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn array() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accessing_array` is never used [INFO] [stdout] --> src/bin/floating.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn accessing_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_sequenceandrev` is never used [INFO] [stdout] --> src/bin/loop.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn for_sequenceandrev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/statements.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let y = 6; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference_to_nothing` [INFO] [stdout] --> src/bin/dangling.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let reference_to_nothing = dangle(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/bin/return_values_and_scope.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let s1 = gives_ownership(); // gives_ownership moves its return [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guess` [INFO] [stdout] --> src/bin/variables.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let guess: u32 = "42".parse().expect("Not a number!"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "72145801907f2d78078f18a1d6e8a9f9e2b023742a54c1c9f3d662959ef2fa2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72145801907f2d78078f18a1d6e8a9f9e2b023742a54c1c9f3d662959ef2fa2d", kill_on_drop: false }` [INFO] [stdout] 72145801907f2d78078f18a1d6e8a9f9e2b023742a54c1c9f3d662959ef2fa2d