[INFO] cloning repository https://github.com/fyang1024/rust_crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fyang1024/rust_crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffyang1024%2Frust_crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffyang1024%2Frust_crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c70525255e2ab62a9f7bd2d21dafb6d3bc0fc8db [INFO] checking fyang1024/rust_crud against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffyang1024%2Frust_crud" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fyang1024/rust_crud on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fyang1024/rust_crud [INFO] finished tweaking git repo https://github.com/fyang1024/rust_crud [INFO] tweaked toml for git repo https://github.com/fyang1024/rust_crud written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fyang1024/rust_crud 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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b088836e900a1e4aa8c3328da989545b47b11cbaa34482da97311a8b1a29cf5 [INFO] running `Command { std: "docker" "start" "-a" "6b088836e900a1e4aa8c3328da989545b47b11cbaa34482da97311a8b1a29cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b088836e900a1e4aa8c3328da989545b47b11cbaa34482da97311a8b1a29cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b088836e900a1e4aa8c3328da989545b47b11cbaa34482da97311a8b1a29cf5", kill_on_drop: false }` [INFO] [stdout] 6b088836e900a1e4aa8c3328da989545b47b11cbaa34482da97311a8b1a29cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1f9ac8a41c1776ab40937c62f4c79948731260069f25cef77a95e40e2afd615 [INFO] running `Command { std: "docker" "start" "-a" "d1f9ac8a41c1776ab40937c62f4c79948731260069f25cef77a95e40e2afd615", kill_on_drop: false }` [INFO] [stderr] Checking rust_crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::student_store::StudentStore` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::student_store::StudentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::student_store::StudentStore` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::student_store::StudentStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_class` is never used [INFO] [stdout] --> src/class_store.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ClassStore { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn delete_class(&mut self, class: &class::Class) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_description`, `set_description`, `get_max_members`, `set_max_members`, and `get_num_of_members` are never used [INFO] [stdout] --> src/club.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Club { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_description(&mut self, description: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_max_members(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_max_members(&mut self, max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_num_of_members(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_club`, `update_club_description`, `update_club_max_members`, and `delete_club` are never used [INFO] [stdout] --> src/club_store.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ClubStore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update_club(&mut self, name: &String, new_description: String, new_max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn update_club_description(&mut self, name: &String, new_description: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn update_club_max_members(&mut self, name: &String, new_max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn delete_club(&mut self, club: &club::Club) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/grade.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Grade { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | ONE, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | TWO, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | THREE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | FOUR, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | FIVE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | SIX, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | SEVEN, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grade` 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: field `name` is never read [INFO] [stdout] --> src/lesson.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Lesson { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lesson` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `get_description`, and `get_grades` are never used [INFO] [stdout] --> src/lesson.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Lesson { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_grades(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_lesson`, `update_lesson_grades`, and `delete_lesson` are never used [INFO] [stdout] --> src/lesson_store.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl LessonStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_lesson(&mut self, name: &String, description: String, grades: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_lesson_grades(&mut self, name: &String, grades: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn delete_lesson(&mut self, lesson: &lesson::Lesson) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_full_name`, `get_grade`, `get_class`, and `set_grade_class` are never used [INFO] [stdout] --> src/student.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Student { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_full_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_grade(&self) -> grade::Grade { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_class(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_grade_class(&mut self, grade: grade::Grade, class: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_class` is never used [INFO] [stdout] --> src/class_store.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ClassStore { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn delete_class(&mut self, class: &class::Class) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_description`, `set_description`, `get_max_members`, `set_max_members`, and `get_num_of_members` are never used [INFO] [stdout] --> src/club.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Club { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_description(&mut self, description: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_max_members(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_max_members(&mut self, max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_num_of_members(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_club`, `update_club_description`, `update_club_max_members`, and `delete_club` are never used [INFO] [stdout] --> src/club_store.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ClubStore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update_club(&mut self, name: &String, new_description: String, new_max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn update_club_description(&mut self, name: &String, new_description: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn update_club_max_members(&mut self, name: &String, new_max_members: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn delete_club(&mut self, club: &club::Club) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/grade.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Grade { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | ONE, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | TWO, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | THREE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | FOUR, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | FIVE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | SIX, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | SEVEN, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grade` 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: field `name` is never read [INFO] [stdout] --> src/lesson.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Lesson { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lesson` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `get_description`, and `get_grades` are never used [INFO] [stdout] --> src/lesson.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Lesson { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_description(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_grades(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_lesson`, `update_lesson_grades`, and `delete_lesson` are never used [INFO] [stdout] --> src/lesson_store.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl LessonStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_lesson(&mut self, name: &String, description: String, grades: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_lesson_grades(&mut self, name: &String, grades: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn delete_lesson(&mut self, lesson: &lesson::Lesson) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_full_name`, `get_grade`, `get_class`, and `set_grade_class` are never used [INFO] [stdout] --> src/student.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Student { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> &usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_full_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_grade(&self) -> grade::Grade { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_class(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_grade_class(&mut self, grade: grade::Grade, class: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "d1f9ac8a41c1776ab40937c62f4c79948731260069f25cef77a95e40e2afd615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f9ac8a41c1776ab40937c62f4c79948731260069f25cef77a95e40e2afd615", kill_on_drop: false }` [INFO] [stdout] d1f9ac8a41c1776ab40937c62f4c79948731260069f25cef77a95e40e2afd615