[INFO] cloning repository https://github.com/0x00kh/rust-course [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x00kh/rust-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x00kh%2Frust-course", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x00kh%2Frust-course'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 415077fda2d82f954c3c06006b5be3e486f1b8fa [INFO] checking 0x00kh/rust-course/415077fda2d82f954c3c06006b5be3e486f1b8fa against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x00kh%2Frust-course" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0x00kh/rust-course on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0x00kh/rust-course [INFO] finished tweaking git repo https://github.com/0x00kh/rust-course [INFO] tweaked toml for git repo https://github.com/0x00kh/rust-course written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/0x00kh/rust-course 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 704db0b50c7759e79092a3eda4706eae17131263d2beceefef536203644557f7 [INFO] running `Command { std: "docker" "start" "-a" "704db0b50c7759e79092a3eda4706eae17131263d2beceefef536203644557f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "704db0b50c7759e79092a3eda4706eae17131263d2beceefef536203644557f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704db0b50c7759e79092a3eda4706eae17131263d2beceefef536203644557f7", kill_on_drop: false }` [INFO] [stdout] 704db0b50c7759e79092a3eda4706eae17131263d2beceefef536203644557f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb678c637b457607287c96a7f599e1f8f50746cf67575ce59e0e3ce92de8f2a1 [INFO] running `Command { std: "docker" "start" "-a" "eb678c637b457607287c96a7f599e1f8f50746cf67575ce59e0e3ce92de8f2a1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking lesson4 v0.1.0 (/opt/rustwide/workdir/lesson4) [INFO] [stderr] Checking lesson2 v0.1.0 (/opt/rustwide/workdir/lesson2) [INFO] [stderr] Checking lesson3 v0.1.0 (/opt/rustwide/workdir/lesson3) [INFO] [stderr] Checking lesson5 v0.1.0 (/opt/rustwide/workdir/lesson5) [INFO] [stderr] Checking lesson1 v0.1.0 (/opt/rustwide/workdir/lesson1) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> lesson3/src/course.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> lesson3/src/course.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/class.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Class { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_class` and `update_class` are never used [INFO] [stdout] --> lesson3/src/class.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbClass { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn del_class(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update_class(&mut self, class: Class) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/club.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Club { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Club` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_club` and `update_club` are never used [INFO] [stdout] --> lesson3/src/club.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbClub { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn del_club(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update_club(&mut self, club: Club) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `code`, and `class_id` are never read [INFO] [stdout] --> lesson3/src/course.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | class_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` 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 `del_course` and `update_course` are never used [INFO] [stdout] --> lesson3/src/course.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl DbCourse { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn del_course(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn update_course(&mut self, course: Course) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/student.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Student { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_student` and `update_student` are never used [INFO] [stdout] --> lesson3/src/student.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl DbStudent { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn del_student(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn update_student(&mut self, student: Student) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/class.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Class { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_class` and `update_class` are never used [INFO] [stdout] --> lesson3/src/class.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbClass { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn del_class(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update_class(&mut self, class: Class) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/club.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Club { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Club` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_club` and `update_club` are never used [INFO] [stdout] --> lesson3/src/club.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl DbClub { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn del_club(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn update_club(&mut self, club: Club) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `code`, and `class_id` are never read [INFO] [stdout] --> lesson3/src/course.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Course { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | class_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Course` 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 `del_course` and `update_course` are never used [INFO] [stdout] --> lesson3/src/course.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl DbCourse { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn del_course(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn update_course(&mut self, course: Course) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> lesson3/src/student.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Student { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub id: u32, [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `del_student` and `update_student` are never used [INFO] [stdout] --> lesson3/src/student.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl DbStudent { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn del_student(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn update_student(&mut self, student: Student) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "eb678c637b457607287c96a7f599e1f8f50746cf67575ce59e0e3ce92de8f2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb678c637b457607287c96a7f599e1f8f50746cf67575ce59e0e3ce92de8f2a1", kill_on_drop: false }` [INFO] [stdout] eb678c637b457607287c96a7f599e1f8f50746cf67575ce59e0e3ce92de8f2a1