[INFO] cloning repository https://github.com/natemiklas1/rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natemiklas1/rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatemiklas1%2Frust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatemiklas1%2Frust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ebf82983f5e953c9aa9acd33e6d44ebb2b30bd8 [INFO] checking natemiklas1/rust_example against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatemiklas1%2Frust_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/natemiklas1/rust_example [INFO] finished tweaking git repo https://github.com/natemiklas1/rust_example [INFO] tweaked toml for git repo https://github.com/natemiklas1/rust_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/natemiklas1/rust_example on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/natemiklas1/rust_example 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1d40ce86aea981450f83b37da9c27637b2295089210e579661d18b58534208 [INFO] running `Command { std: "docker" "start" "-a" "8c1d40ce86aea981450f83b37da9c27637b2295089210e579661d18b58534208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1d40ce86aea981450f83b37da9c27637b2295089210e579661d18b58534208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1d40ce86aea981450f83b37da9c27637b2295089210e579661d18b58534208", kill_on_drop: false }` [INFO] [stdout] 8c1d40ce86aea981450f83b37da9c27637b2295089210e579661d18b58534208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7cc63e0b81dbef0f79abe4d393d2a456339a8146fee77963fc466d5123a783 [INFO] running `Command { std: "docker" "start" "-a" "6c7cc63e0b81dbef0f79abe4d393d2a456339a8146fee77963fc466d5123a783", kill_on_drop: false }` [INFO] [stderr] Checking rust_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `User_Struct` should have an upper camel case name [INFO] [stdout] --> src/Account/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User_Struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserStruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `User_Struct` should have an upper camel case name [INFO] [stdout] --> src/Account/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User_Struct { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserStruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `username`, and `age` are never read [INFO] [stdout] --> src/Account/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User_Struct { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub email: Email, //using the Email enum here [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub second_email: Option, // this can be None [INFO] [stdout] 9 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User_Struct` 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: method `update_email` is never used [INFO] [stdout] --> src/Account/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl User_Struct { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn update_email(&mut self, new_email: Email) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/Account/email.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Yahoo(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Yahoo(String), [INFO] [stdout] 6 + Yahoo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aol` is never constructed [INFO] [stdout] --> src/Account/email.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Email { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Aol(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Account` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Account; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `username`, and `age` are never read [INFO] [stdout] --> src/Account/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User_Struct { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub email: Email, //using the Email enum here [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub second_email: Option, // this can be None [INFO] [stdout] 9 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User_Struct` 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: method `update_email` is never used [INFO] [stdout] --> src/Account/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl User_Struct { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn update_email(&mut self, new_email: Email) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/Account/email.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Yahoo(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Yahoo(String), [INFO] [stdout] 6 + Yahoo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Aol` is never constructed [INFO] [stdout] --> src/Account/email.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Email { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | Aol(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Account` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Account; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "6c7cc63e0b81dbef0f79abe4d393d2a456339a8146fee77963fc466d5123a783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7cc63e0b81dbef0f79abe4d393d2a456339a8146fee77963fc466d5123a783", kill_on_drop: false }` [INFO] [stdout] 6c7cc63e0b81dbef0f79abe4d393d2a456339a8146fee77963fc466d5123a783