[INFO] cloning repository https://github.com/severalfriends/rustlesson3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/severalfriends/rustlesson3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseveralfriends%2Frustlesson3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseveralfriends%2Frustlesson3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f85e52eff3032f5143b7ecbd76d74918610026c1 [INFO] checking severalfriends/rustlesson3 against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseveralfriends%2Frustlesson3" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/severalfriends/rustlesson3 on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/severalfriends/rustlesson3 [INFO] finished tweaking git repo https://github.com/severalfriends/rustlesson3 [INFO] tweaked toml for git repo https://github.com/severalfriends/rustlesson3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/severalfriends/rustlesson3 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4f416b77fd6436c885bb79837474f46958d6b33a33115b718c28770509f3543 [INFO] running `Command { std: "docker" "start" "-a" "f4f416b77fd6436c885bb79837474f46958d6b33a33115b718c28770509f3543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4f416b77fd6436c885bb79837474f46958d6b33a33115b718c28770509f3543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f416b77fd6436c885bb79837474f46958d6b33a33115b718c28770509f3543", kill_on_drop: false }` [INFO] [stdout] f4f416b77fd6436c885bb79837474f46958d6b33a33115b718c28770509f3543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d1c8ab78df8d21599acb1f4b6551f2cc623b665d73057461bd397ad4f95daf [INFO] running `Command { std: "docker" "start" "-a" "f5d1c8ab78df8d21599acb1f4b6551f2cc623b665d73057461bd397ad4f95daf", kill_on_drop: false }` [INFO] [stderr] Checking studentsystem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Invalid_Organization` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Invalid_Organization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidOrganization` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid_Lesson` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Invalid_Lesson [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidLesson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:245:26 [INFO] [stdout] | [INFO] [stdout] 245 | continue;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid_Organization` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Invalid_Organization, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidOrganization` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid_Lesson` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Invalid_Lesson [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidLesson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:245:26 [INFO] [stdout] | [INFO] [stdout] 245 | continue;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lessons` [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut lessons: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lessons` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_map` [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut lesson_map: HashMap<&str, Vec> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `organization_map` is never read [INFO] [stdout] --> src/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | organization_map = Organization::quit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lessons` [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mut lessons: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lessons` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_map` [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut lesson_map: HashMap<&str, Vec> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `organization_map` is never read [INFO] [stdout] --> src/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | organization_map = Organization::quit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut lessons: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut lesson_map: HashMap<&str, Vec> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid_Lesson` is never constructed [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | Invalid_Organization, [INFO] [stdout] 6 | Invalid_Lesson [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut lessons: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Information`, `Physical`, and `Culture` are never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum College { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 11 | Computer, [INFO] [stdout] 12 | Information, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Physical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Culture [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `College` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `teacher`, and `credit` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct Lesson { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | teacher: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 116 | credit: u64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lesson` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl Lesson { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 120 | [INFO] [stdout] 121 | fn new(name: String, teacher: String, credit: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn add(name: String, teacher: String, credit: u64, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn remove(name: String, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn update(name: String, teacher: String, credit: u64, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn query(name: String, lesson_arr: &[Lesson]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn participate(student: Student, lesson_name: String, mut lesson_map: HashMap<&str, Vec>) -> Result>) -> Result>... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization_vec` should have a snake case name [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut Organization_vec = organization_arr.to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization_vec` should have a snake case name [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Organization_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:91:66 [INFO] [stdout] | [INFO] [stdout] 91 | match organization_map.get_mut(organization_name.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:182:54 [INFO] [stdout] | [INFO] [stdout] 182 | match lesson_map.get_mut(lesson_name.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut lesson_map: HashMap<&str, Vec> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid_Lesson` is never constructed [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | Invalid_Organization, [INFO] [stdout] 6 | Invalid_Lesson [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: variants `Information`, `Physical`, and `Culture` are never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum College { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 11 | Computer, [INFO] [stdout] 12 | Information, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Physical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Culture [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `College` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `teacher`, and `credit` are never read [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | struct Lesson { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 114 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | teacher: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 116 | credit: u64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lesson` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl Lesson { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 120 | [INFO] [stdout] 121 | fn new(name: String, teacher: String, credit: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn add(name: String, teacher: String, credit: u64, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn remove(name: String, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn update(name: String, teacher: String, credit: u64, lesson_arr: &[Lesson]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn query(name: String, lesson_arr: &[Lesson]) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn participate(student: Student, lesson_name: String, mut lesson_map: HashMap<&str, Vec>) -> Result>) -> Result>... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization_vec` should have a snake case name [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut Organization_vec = organization_arr.to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization_vec` should have a snake case name [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut Organization_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Organization` should have a snake case name [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for Organization in organization_arr { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `organization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:91:66 [INFO] [stdout] | [INFO] [stdout] 91 | match organization_map.get_mut(organization_name.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:182:54 [INFO] [stdout] | [INFO] [stdout] 182 | match lesson_map.get_mut(lesson_name.as_str().clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "f5d1c8ab78df8d21599acb1f4b6551f2cc623b665d73057461bd397ad4f95daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d1c8ab78df8d21599acb1f4b6551f2cc623b665d73057461bd397ad4f95daf", kill_on_drop: false }` [INFO] [stdout] f5d1c8ab78df8d21599acb1f4b6551f2cc623b665d73057461bd397ad4f95daf