[INFO] fetching crate cyclonedx-bom 0.4.3... [INFO] checking cyclonedx-bom-0.4.3 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cyclonedx-bom 0.4.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate cyclonedx-bom 0.4.3 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (latest: v1.0.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packageurl v0.3.0 [INFO] [stderr] Downloaded insta v1.38.0 [INFO] [stderr] Downloaded spdx v0.10.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a3561014c0467f7ecd55dcde929ab0dfdf161af75e5cd4568674af440c0efa7 [INFO] running `Command { std: "docker" "start" "-a" "5a3561014c0467f7ecd55dcde929ab0dfdf161af75e5cd4568674af440c0efa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3561014c0467f7ecd55dcde929ab0dfdf161af75e5cd4568674af440c0efa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3561014c0467f7ecd55dcde929ab0dfdf161af75e5cd4568674af440c0efa7", kill_on_drop: false }` [INFO] [stdout] 5a3561014c0467f7ecd55dcde929ab0dfdf161af75e5cd4568674af440c0efa7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67b8525013014eda3e5c51bf6a0089229ba1881d824ca1f49072551e87207e41 [INFO] running `Command { std: "docker" "start" "-a" "67b8525013014eda3e5c51bf6a0089229ba1881d824ca1f49072551e87207e41", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking spdx v0.10.4 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [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.4 [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.115 [INFO] [stderr] Checking insta v1.38.0 [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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148: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: 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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.64s [INFO] running `Command { std: "docker" "inspect" "67b8525013014eda3e5c51bf6a0089229ba1881d824ca1f49072551e87207e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b8525013014eda3e5c51bf6a0089229ba1881d824ca1f49072551e87207e41", kill_on_drop: false }` [INFO] [stdout] 67b8525013014eda3e5c51bf6a0089229ba1881d824ca1f49072551e87207e41 [INFO] checking cyclonedx-bom-0.4.3 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate cyclonedx-bom 0.4.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cyclonedx-bom 0.4.3 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f4498a5263c36c39af1aa7d98d9fcbddc1942118adde7715619f74f0f4f773 [INFO] running `Command { std: "docker" "start" "-a" "80f4498a5263c36c39af1aa7d98d9fcbddc1942118adde7715619f74f0f4f773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f4498a5263c36c39af1aa7d98d9fcbddc1942118adde7715619f74f0f4f773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f4498a5263c36c39af1aa7d98d9fcbddc1942118adde7715619f74f0f4f773", kill_on_drop: false }` [INFO] [stdout] 80f4498a5263c36c39af1aa7d98d9fcbddc1942118adde7715619f74f0f4f773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c8a5802d3245b5e299c8d59939f83d95651c6f37ef0c377a056146df83abdae [INFO] running `Command { std: "docker" "start" "-a" "4c8a5802d3245b5e299c8d59939f83d95651c6f37ef0c377a056146df83abdae", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking spdx v0.10.4 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [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 thiserror v1.0.58 [INFO] [stderr] Checking packageurl v0.3.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking insta v1.38.0 [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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148: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 26.12s [INFO] running `Command { std: "docker" "inspect" "4c8a5802d3245b5e299c8d59939f83d95651c6f37ef0c377a056146df83abdae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8a5802d3245b5e299c8d59939f83d95651c6f37ef0c377a056146df83abdae", kill_on_drop: false }` [INFO] [stdout] 4c8a5802d3245b5e299c8d59939f83d95651c6f37ef0c377a056146df83abdae