[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 try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Fstructs-practice" "/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/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mustafaskyer/structs-practice on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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 mustafaskyer/structs-practice against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmustafaskyer%2Fstructs-practice" "/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/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mustafaskyer/structs-practice on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cd5f4a836be97a8306aaac7171516812745c33b3859385c1a4d6d35de4d424a [INFO] running `Command { std: "docker" "start" "-a" "3cd5f4a836be97a8306aaac7171516812745c33b3859385c1a4d6d35de4d424a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cd5f4a836be97a8306aaac7171516812745c33b3859385c1a4d6d35de4d424a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cd5f4a836be97a8306aaac7171516812745c33b3859385c1a4d6d35de4d424a", kill_on_drop: false }` [INFO] [stdout] 3cd5f4a836be97a8306aaac7171516812745c33b3859385c1a4d6d35de4d424a [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20f2c67bd0efad51009d9fe96add38fb4aed3e2bb5ebb5369b2e8329bf1f0e55 [INFO] running `Command { std: "docker" "start" "-a" "20f2c67bd0efad51009d9fe96add38fb4aed3e2bb5ebb5369b2e8329bf1f0e55", 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 `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 `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 `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 `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 `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: 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: 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.11s [INFO] running `Command { std: "docker" "inspect" "20f2c67bd0efad51009d9fe96add38fb4aed3e2bb5ebb5369b2e8329bf1f0e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f2c67bd0efad51009d9fe96add38fb4aed3e2bb5ebb5369b2e8329bf1f0e55", kill_on_drop: false }` [INFO] [stdout] 20f2c67bd0efad51009d9fe96add38fb4aed3e2bb5ebb5369b2e8329bf1f0e55