[INFO] cloning repository https://github.com/ekmanss/rust_homework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ekmanss/rust_homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekmanss%2Frust_homework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekmanss%2Frust_homework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d45604d98cf9f6ae3388267b4c651e1d7070ff1a [INFO] checking ekmanss/rust_homework against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekmanss%2Frust_homework" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ekmanss/rust_homework [INFO] finished tweaking git repo https://github.com/ekmanss/rust_homework [INFO] tweaked toml for git repo https://github.com/ekmanss/rust_homework written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ekmanss/rust_homework on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ekmanss/rust_homework 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2353646c3dc7106396d7f79e39f3197d5c8b7cffde05c8d478cbe189b3316380 [INFO] running `Command { std: "docker" "start" "-a" "2353646c3dc7106396d7f79e39f3197d5c8b7cffde05c8d478cbe189b3316380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2353646c3dc7106396d7f79e39f3197d5c8b7cffde05c8d478cbe189b3316380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2353646c3dc7106396d7f79e39f3197d5c8b7cffde05c8d478cbe189b3316380", kill_on_drop: false }` [INFO] [stdout] 2353646c3dc7106396d7f79e39f3197d5c8b7cffde05c8d478cbe189b3316380 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1cd5ffcd2a63028f4bc407c8634a9d79cbfbc3d721e3eb5d604393b4e4aaa4e [INFO] running `Command { std: "docker" "start" "-a" "c1cd5ffcd2a63028f4bc407c8634a9d79cbfbc3d721e3eb5d604393b4e4aaa4e", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking rust_homework v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `TimeAddable` is never used [INFO] [stdout] --> src/class_four/homework.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | trait TimeAddable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `age`, and `gender` are never read [INFO] [stdout] --> src/class_three/student_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: u32, [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/class_three/student_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Clazz { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | id: u32, [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usingEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn usingEnum() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `using_enum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let vecEnum: Vec = vec![ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vec_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traitObject` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn traitObject() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `trait_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let vecEnum: Vec<&dyn LevelOption> = vec![&Worker, &Manager, &Boss]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vec_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `myTimeAdd` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn myTimeAdd() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `my_time_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `print_a2Z` should have a snake case name [INFO] [stdout] --> src/class_one/layer_one/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod print_a2Z; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_a2_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `print_A2z` should have a snake case name [INFO] [stdout] --> src/class_one/layer_one/layer_two/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod print_A2z; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_a2z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TimeAddable` is never used [INFO] [stdout] --> src/class_four/homework.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | trait TimeAddable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `age`, and `gender` are never read [INFO] [stdout] --> src/class_three/student_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: u32, [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/class_three/student_manager.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Clazz { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | id: u32, [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `usingEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn usingEnum() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `using_enum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let vecEnum: Vec = vec![ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vec_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traitObject` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn traitObject() { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `trait_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecEnum` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let vecEnum: Vec<&dyn LevelOption> = vec![&Worker, &Manager, &Boss]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vec_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `myTimeAdd` should have a snake case name [INFO] [stdout] --> src/class_four/homework.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn myTimeAdd() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `my_time_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `print_a2Z` should have a snake case name [INFO] [stdout] --> src/class_one/layer_one/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod print_a2Z; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_a2_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `print_A2z` should have a snake case name [INFO] [stdout] --> src/class_one/layer_one/layer_two/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod print_A2z; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_a2z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_print_chars_Ok` should have a snake case name [INFO] [stdout] --> src/util/ascii.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_print_chars_Ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_print_chars_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_print_chars_Err` should have a snake case name [INFO] [stdout] --> src/util/ascii.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_print_chars_Err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_print_chars_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "c1cd5ffcd2a63028f4bc407c8634a9d79cbfbc3d721e3eb5d604393b4e4aaa4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1cd5ffcd2a63028f4bc407c8634a9d79cbfbc3d721e3eb5d604393b4e4aaa4e", kill_on_drop: false }` [INFO] [stdout] c1cd5ffcd2a63028f4bc407c8634a9d79cbfbc3d721e3eb5d604393b4e4aaa4e