[INFO] cloning repository https://github.com/tyhdefu/erd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyhdefu/erd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyhdefu%2Ferd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyhdefu%2Ferd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 483e20acb336fb7c1801614f775751bba0649829 [INFO] building tyhdefu/erd against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyhdefu%2Ferd" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tyhdefu/erd [INFO] finished tweaking git repo https://github.com/tyhdefu/erd [INFO] tweaked toml for git repo https://github.com/tyhdefu/erd written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tyhdefu/erd on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tyhdefu/erd 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.4 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded clap_lex v0.3.2 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded zip v1.1.3 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded zopfli v0.8.0 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded clap v4.1.6 [INFO] [stderr] Downloaded libz-ng-sys v1.1.15 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d092ae8538ffc137cfa052fb0b6b6cb5155e52e7cc4a9af44e9aa70f0fb74a3 [INFO] running `Command { std: "docker" "start" "-a" "3d092ae8538ffc137cfa052fb0b6b6cb5155e52e7cc4a9af44e9aa70f0fb74a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d092ae8538ffc137cfa052fb0b6b6cb5155e52e7cc4a9af44e9aa70f0fb74a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d092ae8538ffc137cfa052fb0b6b6cb5155e52e7cc4a9af44e9aa70f0fb74a3", kill_on_drop: false }` [INFO] [stdout] 3d092ae8538ffc137cfa052fb0b6b6cb5155e52e7cc4a9af44e9aa70f0fb74a3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a80d9c3b1b167ae4b8976867af2fd1ecff1f0344afddd14744c6c9d70fbf12a [INFO] running `Command { std: "docker" "start" "-a" "5a80d9c3b1b167ae4b8976867af2fd1ecff1f0344afddd14744c6c9d70fbf12a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling zip v1.1.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling zopfli v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling clap_lex v0.3.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling is-terminal v0.4.4 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling clap v4.1.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling erd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/fetch.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::output::{self, FormatOutput, OutputOptions}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_history_gitlab` [INFO] [stdout] --> src/main.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use gitlab::{get_history_gitlab, rebuild_artifact_gitlab, scan_gitlab}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_store_directory` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_store_directory(specified: &Option) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_branch` is never read [INFO] [stdout] --> src/gitlab.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProjectData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub default_branch: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stage` and `pipeline` are never read [INFO] [stdout] --> src/gitlab.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobHistory { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub stage: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub pipeline: JobPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `created_at` are never read [INFO] [stdout] --> src/gitlab.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct JobCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 49 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | pub short_id: String, [INFO] [stdout] 51 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/gitlab.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct JobPipeline { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 58 | pub id: usize, [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "5a80d9c3b1b167ae4b8976867af2fd1ecff1f0344afddd14744c6c9d70fbf12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a80d9c3b1b167ae4b8976867af2fd1ecff1f0344afddd14744c6c9d70fbf12a", kill_on_drop: false }` [INFO] [stdout] 5a80d9c3b1b167ae4b8976867af2fd1ecff1f0344afddd14744c6c9d70fbf12a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7bed9be6ffa291161a3c000cdeb4a18272ccae48f337cfd736dac8c1925f3de [INFO] running `Command { std: "docker" "start" "-a" "f7bed9be6ffa291161a3c000cdeb4a18272ccae48f337cfd736dac8c1925f3de", kill_on_drop: false }` [INFO] [stderr] Compiling erd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/fetch.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::output::{self, FormatOutput, OutputOptions}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_history_gitlab` [INFO] [stdout] --> src/main.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use gitlab::{get_history_gitlab, rebuild_artifact_gitlab, scan_gitlab}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_store_directory` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_store_directory(specified: &Option) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_branch` is never read [INFO] [stdout] --> src/gitlab.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProjectData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub default_branch: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stage` and `pipeline` are never read [INFO] [stdout] --> src/gitlab.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobHistory { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub stage: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub pipeline: JobPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `created_at` are never read [INFO] [stdout] --> src/gitlab.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct JobCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 49 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | pub short_id: String, [INFO] [stdout] 51 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/gitlab.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct JobPipeline { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 58 | pub id: usize, [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "f7bed9be6ffa291161a3c000cdeb4a18272ccae48f337cfd736dac8c1925f3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7bed9be6ffa291161a3c000cdeb4a18272ccae48f337cfd736dac8c1925f3de", kill_on_drop: false }` [INFO] [stdout] f7bed9be6ffa291161a3c000cdeb4a18272ccae48f337cfd736dac8c1925f3de