[INFO] cloning repository https://github.com/intincrab/rust-lang-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/intincrab/rust-lang-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintincrab%2Frust-lang-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintincrab%2Frust-lang-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d517923d263b3a67f5660caec0e2874653fd9c27 [INFO] checking intincrab/rust-lang-book against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintincrab%2Frust-lang-book" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 46% (1205/2569) Updating files: 47% (1208/2569) Updating files: 48% (1234/2569) Updating files: 49% (1259/2569) Updating files: 50% (1285/2569) Updating files: 51% (1311/2569) Updating files: 52% (1336/2569) Updating files: 53% (1362/2569) Updating files: 54% (1388/2569) Updating files: 55% (1413/2569) Updating files: 56% (1439/2569) Updating files: 57% (1465/2569) Updating files: 58% (1491/2569) Updating files: 59% (1516/2569) Updating files: 60% (1542/2569) Updating files: 61% (1568/2569) Updating files: 62% (1593/2569) Updating files: 63% (1619/2569) Updating files: 64% (1645/2569) Updating files: 65% (1670/2569) Updating files: 66% (1696/2569) Updating files: 67% (1722/2569) Updating files: 68% (1747/2569) Updating files: 69% (1773/2569) Updating files: 70% (1799/2569) Updating files: 71% (1824/2569) Updating files: 72% (1850/2569) Updating files: 73% (1876/2569) Updating files: 74% (1902/2569) Updating files: 75% (1927/2569) Updating files: 76% (1953/2569) Updating files: 77% (1979/2569) Updating files: 78% (2004/2569) Updating files: 79% (2030/2569) Updating files: 80% (2056/2569) Updating files: 81% (2081/2569) Updating files: 82% (2107/2569) Updating files: 83% (2133/2569) Updating files: 84% (2158/2569) Updating files: 85% (2184/2569) Updating files: 86% (2210/2569) Updating files: 87% (2236/2569) Updating files: 88% (2261/2569) Updating files: 89% (2287/2569) Updating files: 90% (2313/2569) Updating files: 91% (2338/2569) Updating files: 92% (2364/2569) Updating files: 93% (2390/2569) Updating files: 94% (2415/2569) Updating files: 94% (2431/2569) Updating files: 95% (2441/2569) Updating files: 96% (2467/2569) Updating files: 97% (2492/2569) Updating files: 98% (2518/2569) Updating files: 99% (2544/2569) Updating files: 100% (2569/2569) Updating files: 100% (2569/2569), done. [INFO] validating manifest of git repo https://github.com/intincrab/rust-lang-book on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/intincrab/rust-lang-book [INFO] finished tweaking git repo https://github.com/intincrab/rust-lang-book [INFO] tweaked toml for git repo https://github.com/intincrab/rust-lang-book written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/intincrab/rust-lang-book 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/my_crate/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 024b018faa76cae96d0344f026595e4b9cb0aca910916b7e60f6b4dfe07e5953 [INFO] running `Command { std: "docker" "start" "-a" "024b018faa76cae96d0344f026595e4b9cb0aca910916b7e60f6b4dfe07e5953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "024b018faa76cae96d0344f026595e4b9cb0aca910916b7e60f6b4dfe07e5953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024b018faa76cae96d0344f026595e4b9cb0aca910916b7e60f6b4dfe07e5953", kill_on_drop: false }` [INFO] [stdout] 024b018faa76cae96d0344f026595e4b9cb0aca910916b7e60f6b4dfe07e5953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 707dbb806e95ebdb75622b976e7bbf2fc5745f4fe640e0da41a90974aba028f1 [INFO] running `Command { std: "docker" "start" "-a" "707dbb806e95ebdb75622b976e7bbf2fc5745f4fe640e0da41a90974aba028f1", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/my_crate/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [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] Compiling libc v0.2.139 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir/project1/minigrep) [INFO] [stderr] Checking package v0.1.0 (/opt/rustwide/workdir/package) [INFO] [stderr] Checking my_crate v0.1.0 (/opt/rustwide/workdir/my_crate) [INFO] [stderr] Checking adder v0.1.0 (/opt/rustwide/workdir/tests/adder) [INFO] [stderr] Checking vectors v0.1.0 (/opt/rustwide/workdir/commoncollection/vectors) [INFO] [stderr] Checking enums1 v0.1.0 (/opt/rustwide/workdir/Enums/enums1) [INFO] [stderr] Checking closures v0.1.0 (/opt/rustwide/workdir/closures) [INFO] [stderr] Checking generic v0.1.0 (/opt/rustwide/workdir/generics/generic) [INFO] [stderr] Checking hashmap v0.1.0 (/opt/rustwide/workdir/commoncollection/hashmap) [INFO] [stdout] warning: type `Option_i32` should have an upper camel case name [INFO] [stdout] --> generics/generic/src/main.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Option_i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OptionI32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Option_f64` should have an upper camel case name [INFO] [stdout] --> generics/generic/src/main.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Option_f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OptionF64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> my_crate/src/lib.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> my_crate/src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> generics/generic/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let integer = Option_i32::Some(5); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> generics/generic/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let float = Option_f64::Some(5.0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> commoncollection/vectors/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let row =vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> generics/generic/src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | Some(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 - Some(i32), [INFO] [stdout] 2 + Some(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> generics/generic/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Option_i32 { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 2 | Some(i32), [INFO] [stdout] 3 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> generics/generic/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Some(f64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Some(f64), [INFO] [stdout] 7 + Some(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> generics/generic/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Option_f64 { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 7 | Some(f64), [INFO] [stdout] 8 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> commoncollection/vectors/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let row =vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> commoncollection/vectors/src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Int(i32), [INFO] [stdout] 3 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> commoncollection/vectors/src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Float(f64), [INFO] [stdout] 4 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> commoncollection/vectors/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Text(String), [INFO] [stdout] 5 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> closures/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | width: u32, [INFO] [stdout] 4 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> tests/adder/tests/common/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn setup() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Option_i32` should have an upper camel case name [INFO] [stdout] --> generics/generic/src/main.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Option_i32 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OptionI32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Option_f64` should have an upper camel case name [INFO] [stdout] --> generics/generic/src/main.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Option_f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `OptionF64` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking panic v0.1.0 (/opt/rustwide/workdir/error/panic) [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> generics/generic/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let integer = Option_i32::Some(5); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> generics/generic/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let float = Option_f64::Some(5.0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> generics/generic/src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | Some(i32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 2 - Some(i32), [INFO] [stdout] 2 + Some(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> generics/generic/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Option_i32 { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 2 | Some(i32), [INFO] [stdout] 3 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> generics/generic/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Some(f64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Some(f64), [INFO] [stdout] 7 + Some(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> generics/generic/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Option_f64 { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 7 | Some(f64), [INFO] [stdout] 8 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Checking traits v0.1.0 (/opt/rustwide/workdir/generics/traits) [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> closures/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | width: u32, [INFO] [stdout] 4 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shoe` is never constructed [INFO] [stdout] --> iterators/src/main.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Shoe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shoes_in_size` is never used [INFO] [stdout] --> iterators/src/main.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn shoes_in_size(shoes: Vec, shoe_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> my_crate/src/lib.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> my_crate/src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `artist`, and `label` are never read [INFO] [stdout] --> generics/traits/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Album { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | title:String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | artist:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | label:String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `artist`, and `label` are never read [INFO] [stdout] --> generics/traits/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Album { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | title:String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | artist:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | label:String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking resturant v0.1.0 (/opt/rustwide/workdir/resturant) [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/rustwide/workdir/guessing_game) [INFO] [stderr] Checking packages v0.1.0 (/opt/rustwide/workdir/third-party-crates/packages) [INFO] [stdout] error[E0433]: failed to resolve: could not find `User` in `authentication` [INFO] [stdout] --> third-party-crates/packages/src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | let mut user = authentication::User::new("jeremy", "super-secret"); [INFO] [stdout] | ^^^^ could not find `User` in `authentication` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::authentication::authentication::User` exists but is inaccessible [INFO] [stdout] --> third-party-crates/packages/src/authentication.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `packages` (bin "packages") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `User` in `authentication` [INFO] [stdout] --> third-party-crates/packages/src/main.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | let mut user = authentication::User::new("jeremy", "super-secret"); [INFO] [stdout] | ^^^^ could not find `User` in `authentication` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::authentication::authentication::User` exists but is inaccessible [INFO] [stdout] --> third-party-crates/packages/src/authentication.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `packages` (bin "packages" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "707dbb806e95ebdb75622b976e7bbf2fc5745f4fe640e0da41a90974aba028f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707dbb806e95ebdb75622b976e7bbf2fc5745f4fe640e0da41a90974aba028f1", kill_on_drop: false }` [INFO] [stdout] 707dbb806e95ebdb75622b976e7bbf2fc5745f4fe640e0da41a90974aba028f1