[INFO] fetching crate cyclonedx-bom 0.4.3... [INFO] checking cyclonedx-bom-0.4.3 against master#d255c6a57c393db6221b1ff700daea478436f1cd for pr-122317 [INFO] extracting crate cyclonedx-bom 0.4.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cyclonedx-bom 0.4.3 on toolchain d255c6a57c393db6221b1ff700daea478436f1cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cyclonedx-bom 0.4.3 [INFO] finished tweaking crates.io crate cyclonedx-bom 0.4.3 [INFO] tweaked toml for crates.io crate cyclonedx-bom 0.4.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packageurl v0.3.0 [INFO] [stderr] Downloaded spdx v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f15e446d63027501dba60e521b9389f850c5f38ac8247d2c655bb34cc1a2ee14 [INFO] running `Command { std: "docker" "start" "-a" "f15e446d63027501dba60e521b9389f850c5f38ac8247d2c655bb34cc1a2ee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f15e446d63027501dba60e521b9389f850c5f38ac8247d2c655bb34cc1a2ee14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15e446d63027501dba60e521b9389f850c5f38ac8247d2c655bb34cc1a2ee14", kill_on_drop: false }` [INFO] [stdout] f15e446d63027501dba60e521b9389f850c5f38ac8247d2c655bb34cc1a2ee14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27f3a1c1a721494ecd51139ca34661c59890c792ce614d6379e88f566f5a03b8 [INFO] running `Command { std: "docker" "start" "-a" "27f3a1c1a721494ecd51139ca34661c59890c792ce614d6379e88f566f5a03b8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking spdx v0.10.4 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking packageurl v0.3.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking insta v1.36.1 [INFO] [stderr] Checking cyclonedx-bom v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/date_time.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/spdx.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/uri.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/models/license.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/date_time.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/external_models/date_time.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] 104 | use crate::validation::FailureReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/external_models/normalized_string.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] 80 | use crate::validation::FailureReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/spdx.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/external_models/spdx.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | use crate::validation::{FailureReason, ValidationContext, ValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 212 | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidationResult` is imported redundantly [INFO] [stdout] --> src/external_models/spdx.rs:211:63 [INFO] [stdout] | [INFO] [stdout] 211 | use crate::validation::{FailureReason, ValidationContext, ValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `ValidationResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/external_models/uri.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{convert::TryFrom, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/external_models/uri.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use crate::validation::FailureReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encoding` is imported redundantly [INFO] [stdout] --> src/models/attached_text.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | use crate::{models::attached_text::Encoding, validation::ValidationPathComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `Encoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/models/bom.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | component::{Classification, Component}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | use super::*; [INFO] [stdout] | -------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BomReference` is imported redundantly [INFO] [stdout] --> src/models/bom.rs:480:42 [INFO] [stdout] | [INFO] [stdout] 480 | composition::{AggregateType, BomReference, Composition}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | use super::*; [INFO] [stdout] | -------- the item `BomReference` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Service` is imported redundantly [INFO] [stdout] --> src/models/bom.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | service::Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | use super::*; [INFO] [stdout] | -------- the item `Service` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidationPathComponent` is imported redundantly [INFO] [stdout] --> src/models/bom.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | validation::ValidationPathComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | use super::*; [INFO] [stdout] | -------- the item `ValidationPathComponent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/models/code.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | use crate::validation::FailureReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 436 | [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidationPathComponent` is imported redundantly [INFO] [stdout] --> src/models/component.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | validation::ValidationPathComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | use super::*; [INFO] [stdout] | -------- the item `ValidationPathComponent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FailureReason` is imported redundantly [INFO] [stdout] --> src/models/external_reference.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | use crate::validation::{FailureReason, ValidationPathComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | [INFO] [stdout] 203 | use super::*; [INFO] [stdout] | -------- the item `FailureReason` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidationPathComponent` is imported redundantly [INFO] [stdout] --> src/models/external_reference.rs:201:44 [INFO] [stdout] | [INFO] [stdout] 201 | use crate::validation::{FailureReason, ValidationPathComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 202 | [INFO] [stdout] 203 | use super::*; [INFO] [stdout] | -------- the item `ValidationPathComponent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/models/license.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d255c6a57c393db6221b1ff700daea478436f1cd/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidationPathComponent` is imported redundantly [INFO] [stdout] --> src/models/organization.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | use crate::validation::{FailureReason, ValidationPathComponent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | [INFO] [stdout] 146 | use super::*; [INFO] [stdout] | -------- the item `ValidationPathComponent` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SpdxExpression` is imported redundantly [INFO] [stdout] --> src/specs/v1_3/license.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | external_models::spdx::SpdxExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | use super::*; [INFO] [stdout] | -------- the item `SpdxExpression` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToXmlDocument` is never used [INFO] [stdout] --> src/xml.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait ToXmlDocument { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToXmlDocument` is never used [INFO] [stdout] --> src/xml.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait ToXmlDocument { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "27f3a1c1a721494ecd51139ca34661c59890c792ce614d6379e88f566f5a03b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f3a1c1a721494ecd51139ca34661c59890c792ce614d6379e88f566f5a03b8", kill_on_drop: false }` [INFO] [stdout] 27f3a1c1a721494ecd51139ca34661c59890c792ce614d6379e88f566f5a03b8 [ERROR] this task or one of its parent failed! [ERROR] error sending request for url (https://crater.rust-lang.org/agent-api/record-progress): connection closed before message completed [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.