[INFO] cloning repository https://github.com/mustafaskyer/structs-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mustafaskyer/structs-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Fstructs-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Fstructs-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2720ba4b3ae8de390a3fff2900ddabae022e07a6
[INFO] checking mustafaskyer/structs-practice against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Fstructs-practice" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mustafaskyer/structs-practice
[INFO] finished tweaking git repo https://github.com/mustafaskyer/structs-practice
[INFO] tweaked toml for git repo https://github.com/mustafaskyer/structs-practice written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mustafaskyer/structs-practice on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mustafaskyer/structs-practice 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4
[INFO] running `Command { std: "docker" "start" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking structs-practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `new` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     new,
[INFO] [stdout]    |     ^^^ help: convert the identifier to upper camel case: `New`
[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: variant `casual` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     casual,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Casual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `loyal` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     loyal,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Loyal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `new` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     new,
[INFO] [stdout]    |     ^^^ help: convert the identifier to upper camel case: `New`
[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: variant `casual` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     casual,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Casual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `loyal` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     loyal,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Loyal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let y = fn2(&mut a.c);
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/lib.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let y = fn2(&mut a.c);
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `B` is more private than the item `fn1`
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn fn1(a: &mut B) -> &u32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `fn1` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `B` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct B {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `C` is more private than the item `fn2`
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn fn2(a: &mut C) -> u32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `fn2` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `C` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:109:1
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct C {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `A` is more private than the item `fn3`
[INFO] [stdout]    --> src/lib.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn fn3(a: &mut A) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ function `fn3` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `A` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:101:1
[INFO] [stdout]     |
[INFO] [stdout] 101 | struct A {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Student {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 3 |     id: u8,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Student` 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: type `B` is more private than the item `fn1`
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn fn1(a: &mut B) -> &u32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `fn1` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `B` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct B {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `C` is more private than the item `fn2`
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn fn2(a: &mut C) -> u32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `fn2` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `C` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:109:1
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct C {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `A` is more private than the item `fn3`
[INFO] [stdout]    --> src/lib.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn fn3(a: &mut A) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ function `fn3` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `A` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:101:1
[INFO] [stdout]     |
[INFO] [stdout] 101 | struct A {
[INFO] [stdout]     | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Student {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 3 |     id: u8,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Student` 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: unused import: `fn1`
[INFO] [stdout]  --> src/main.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use structs_practice::{Customer, Student, fn1};
[INFO] [stdout]   |                                           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fn1`
[INFO] [stdout]  --> src/main.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use structs_practice::{Customer, Student, fn1};
[INFO] [stdout]   |                                           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4", kill_on_drop: false }`
[INFO] [stdout] 66b5fe6810473bbf1e3a48911cd12621e4e62b766b7aa16ccec4d38dc5ffe1c4
