[INFO] cloning repository https://github.com/trngdothuy/rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trngdothuy/rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89f6787ea4d3fb073d50af81e3a00e794f70b2a2 [INFO] checking trngdothuy/rust-exercises against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] finished tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] tweaked toml for git repo https://github.com/trngdothuy/rust-exercises written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trngdothuy/rust-exercises on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trngdothuy/rust-exercises 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking trngdothuy/rust-exercises against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrngdothuy%2Frust-exercises" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] finished tweaking git repo https://github.com/trngdothuy/rust-exercises [INFO] tweaked toml for git repo https://github.com/trngdothuy/rust-exercises written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trngdothuy/rust-exercises on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trngdothuy/rust-exercises 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iana-time-zone v0.1.47 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d34382e8015debb0366d9a3d82d163c109c7f556dde378e599a69b14714dc9 [INFO] running `Command { std: "docker" "start" "-a" "c4d34382e8015debb0366d9a3d82d163c109c7f556dde378e599a69b14714dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d34382e8015debb0366d9a3d82d163c109c7f556dde378e599a69b14714dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d34382e8015debb0366d9a3d82d163c109c7f556dde378e599a69b14714dc9", kill_on_drop: false }` [INFO] [stdout] c4d34382e8015debb0366d9a3d82d163c109c7f556dde378e599a69b14714dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b5a96670af965c516dd0cf41da78c9e5d2da236beafd40b95366b5b37d7bd0 [INFO] running `Command { std: "docker" "start" "-a" "f7b5a96670af965c516dd0cf41da78c9e5d2da236beafd40b95366b5b37d7bd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.47 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking activities v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/bin/a22.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn concat(first: &str, second: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `White` are never constructed [INFO] [stdout] --> src/bin/a12.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 27 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Black, [INFO] [stdout] 29 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/a9.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let (x, y) = function(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White` and `Black` are never constructed [INFO] [stdout] --> src/bin/a7.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 9 | Red, [INFO] [stdout] 10 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bin/a28.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 13 | Black, [INFO] [stdout] 14 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Brown, [INFO] [stdout] 16 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Red, [INFO] [stdout] 21 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/a28.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | struct ShoesColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ShoesColor` 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 `0` is never read [INFO] [stdout] --> src/bin/a28.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | struct ShirtColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ShirtColor` 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 `0` is never read [INFO] [stdout] --> src/bin/a28.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | struct PantsColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PantsColor` 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 `Red` and `White` are never constructed [INFO] [stdout] --> src/bin/a12.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 27 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Black, [INFO] [stdout] 29 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/a24.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let data = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | .collect(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromIterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/59a256151e578f525a26127f2c3e3a6c7e2982ca/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] help: consider giving `data` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let data: Vec<_> = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_me` [INFO] [stdout] --> src/bin/a18b.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let try_me = check(staff)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MaintenanceCrews`, `MarketingDepartmentEmployees`, `LineSupervisors`, `KitchenStaff`, and `AssemblyTechnicians` are never constructed [INFO] [stdout] --> src/bin/a18b.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 19 | MaintenanceCrews, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | MarketingDepartmentEmployees, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | Managers, [INFO] [stdout] 22 | LineSupervisors, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | KitchenStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | AssemblyTechnicians, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Active` is never constructed [INFO] [stdout] --> src/bin/a18b.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 28 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/a24.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let data = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | .collect(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromIterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/59a256151e578f525a26127f2c3e3a6c7e2982ca/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] help: consider giving `data` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let data: Vec<_> = vec![1, 2, 3, 4, 5] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `name` are never read [INFO] [stdout] --> src/bin/a21.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `name` are never read [INFO] [stdout] --> src/bin/a21.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/bin/a23.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn part_1() -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/bin/a23.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn part_2() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_3` is never used [INFO] [stdout] --> src/bin/a23.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn part_3() -> Access { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Access` is never used [INFO] [stdout] --> src/bin/a23.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Access { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_access` is never used [INFO] [stdout] --> src/bin/a23.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn maybe_access(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root` is never used [INFO] [stdout] --> src/bin/a23.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn root() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_me` [INFO] [stdout] --> src/bin/a18b.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let try_me = check(staff)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MaintenanceCrews`, `MarketingDepartmentEmployees`, `LineSupervisors`, `KitchenStaff`, and `AssemblyTechnicians` are never constructed [INFO] [stdout] --> src/bin/a18b.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 19 | MaintenanceCrews, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | MarketingDepartmentEmployees, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | Managers, [INFO] [stdout] 22 | LineSupervisors, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | KitchenStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | AssemblyTechnicians, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Active` is never constructed [INFO] [stdout] --> src/bin/a18b.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 28 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` (bin "a24" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `activities` (bin "a24") due to 1 previous error [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/a9.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | let (x, y) = function(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/bin/a22.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn clamp(n: i32, lower: i32, upper: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div` is never used [INFO] [stdout] --> src/bin/a22.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn div(a: i32, b: i32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/bin/a22.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn concat(first: &str, second: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bin/a28.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 13 | Black, [INFO] [stdout] 14 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Brown, [INFO] [stdout] 16 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Red, [INFO] [stdout] 21 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/a28.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | struct ShoesColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ShoesColor` 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 `0` is never read [INFO] [stdout] --> src/bin/a28.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | struct ShirtColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ShirtColor` 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 `0` is never read [INFO] [stdout] --> src/bin/a28.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | struct PantsColor(Color); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PantsColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7b5a96670af965c516dd0cf41da78c9e5d2da236beafd40b95366b5b37d7bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b5a96670af965c516dd0cf41da78c9e5d2da236beafd40b95366b5b37d7bd0", kill_on_drop: false }` [INFO] [stdout] f7b5a96670af965c516dd0cf41da78c9e5d2da236beafd40b95366b5b37d7bd0