[INFO] cloning repository https://github.com/corgijan/cvEZ [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/corgijan/cvEZ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorgijan%2FcvEZ", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorgijan%2FcvEZ'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5a07ce5712271fb8436763e4161a827297a1384 [INFO] checking corgijan/cvEZ against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorgijan%2FcvEZ" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/corgijan/cvEZ [INFO] finished tweaking git repo https://github.com/corgijan/cvEZ [INFO] tweaked toml for git repo https://github.com/corgijan/cvEZ written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/corgijan/cvEZ on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/corgijan/cvEZ 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel v2.2.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a3b9643fb1ff14a4e5cd03cbc08374d0c93bcad7939cc48ff3189d8c5afa6b0 [INFO] running `Command { std: "docker" "start" "-a" "3a3b9643fb1ff14a4e5cd03cbc08374d0c93bcad7939cc48ff3189d8c5afa6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a3b9643fb1ff14a4e5cd03cbc08374d0c93bcad7939cc48ff3189d8c5afa6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3b9643fb1ff14a4e5cd03cbc08374d0c93bcad7939cc48ff3189d8c5afa6b0", kill_on_drop: false }` [INFO] [stdout] 3a3b9643fb1ff14a4e5cd03cbc08374d0c93bcad7939cc48ff3189d8c5afa6b0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c821e4efc034d7354c32675c55548ca37eb12cd748f67fbe8e40f72add4f914 [INFO] running `Command { std: "docker" "start" "-a" "0c821e4efc034d7354c32675c55548ca37eb12cd748f67fbe8e40f72add4f914", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking diesel v2.2.5 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking cvEZ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/sbom.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[serde(rename = "bom")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SelectableHelper` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::{Connection, RunQueryDsl, SelectableHelper, SqliteConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::associations::HasTable` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::associations::HasTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::limit_dsl::LimitDsl` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::query_dsl::limit_dsl::LimitDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::posts::dsl::posts` [INFO] [stdout] --> src/models/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::posts::dsl::posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::posts::published` [INFO] [stdout] --> src/models/post.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::posts::published; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/sbom.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[serde(rename = "bom")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SelectableHelper` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::{Connection, RunQueryDsl, SelectableHelper, SqliteConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::associations::HasTable` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::associations::HasTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::limit_dsl::LimitDsl` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::query_dsl::limit_dsl::LimitDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::posts::dsl::posts` [INFO] [stdout] --> src/models/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::posts::dsl::posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::posts::published` [INFO] [stdout] --> src/models/post.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::posts::published; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_post` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let new_post = NewPost { title: "Title", body: "ImaABody BODY", published: true }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `published` are never read [INFO] [stdout] --> src/models/post.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub published: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | for affected in sbom.components { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 22 - for affected in sbom.components { [INFO] [stdout] 22 + while let Some(affected) = sbom.components { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 22 - for affected in sbom.components { [INFO] [stdout] 22 + if let Some(affected) = sbom.components { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_post` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let new_post = NewPost { title: "Title", body: "ImaABody BODY", published: true }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `published` are never read [INFO] [stdout] --> src/models/post.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub published: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | for affected in sbom.components { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 22 - for affected in sbom.components { [INFO] [stdout] 22 + while let Some(affected) = sbom.components { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 22 - for affected in sbom.components { [INFO] [stdout] 22 + if let Some(affected) = sbom.components { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.07s [INFO] running `Command { std: "docker" "inspect" "0c821e4efc034d7354c32675c55548ca37eb12cd748f67fbe8e40f72add4f914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c821e4efc034d7354c32675c55548ca37eb12cd748f67fbe8e40f72add4f914", kill_on_drop: false }` [INFO] [stdout] 0c821e4efc034d7354c32675c55548ca37eb12cd748f67fbe8e40f72add4f914