[INFO] fetching crate copyup 0.1.0... [INFO] testing copyup-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate copyup 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate copyup 0.1.0 [INFO] finished tweaking crates.io crate copyup 0.1.0 [INFO] tweaked toml for crates.io crate copyup 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate copyup 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 206 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.47) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding strsim v0.9.3 (available: v0.11.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded memoffset v0.5.6 [INFO] [stderr] Downloaded tokio-threadpool v0.1.18 [INFO] [stderr] Downloaded tokio-executor v0.1.10 [INFO] [stderr] Downloaded http-body v0.1.0 [INFO] [stderr] Downloaded tokio-timer v0.2.13 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded try_from v0.3.2 [INFO] [stderr] Downloaded want v0.2.0 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded cookie v0.12.0 [INFO] [stderr] Downloaded hyper-tls v0.3.2 [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded parking_lot v0.9.0 [INFO] [stderr] Downloaded h2 v0.1.26 [INFO] [stderr] Downloaded http v0.1.21 [INFO] [stderr] Downloaded tokio v0.1.22 [INFO] [stderr] Downloaded hyper v0.12.36 [INFO] [stderr] Downloaded tokio-sync v0.1.8 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded cookie_store v0.7.0 [INFO] [stderr] Downloaded serde_urlencoded v0.5.5 [INFO] [stderr] Downloaded tokio-current-thread v0.1.7 [INFO] [stderr] Downloaded lock_api v0.3.4 [INFO] [stderr] Downloaded tokio-tcp v0.1.4 [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded futures-cpupool v0.1.8 [INFO] [stderr] Downloaded tokio-buf v0.1.1 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded tokio-reactor v0.1.12 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded reqwest v0.9.24 [INFO] [stderr] Downloaded string v0.2.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9af4f97b8fdef3a8ffcbdb65a06feba5f562abdd8c9559f2b5b4d91f81a98da [INFO] running `Command { std: "docker" "start" "-a" "e9af4f97b8fdef3a8ffcbdb65a06feba5f562abdd8c9559f2b5b4d91f81a98da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9af4f97b8fdef3a8ffcbdb65a06feba5f562abdd8c9559f2b5b4d91f81a98da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9af4f97b8fdef3a8ffcbdb65a06feba5f562abdd8c9559f2b5b4d91f81a98da", kill_on_drop: false }` [INFO] [stdout] e9af4f97b8fdef3a8ffcbdb65a06feba5f562abdd8c9559f2b5b4d91f81a98da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a94a3aca977ad73c6744b2139ba01f0fb1dfa7679d21a357d5ec9c4dd5fe33eb [INFO] running `Command { std: "docker" "start" "-a" "a94a3aca977ad73c6744b2139ba01f0fb1dfa7679d21a357d5ec9c4dd5fe33eb", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling copyup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/license/mod.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn fetch_list() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn fetch_list() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/license/mod.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `is_deprecated_license_id`, `reference_number`, `see_also`, and `is_osi_approved` are never read [INFO] [stdout] --> src/license/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LicenseEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub is_deprecated_license_id: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub details_url: String, [INFO] [stdout] 17 | pub reference_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub see_also: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub is_osi_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/license/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LicenseDetails { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 33 | pub is_deprecated_license_id: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub is_fsf_libre: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub license_text: String, [INFO] [stdout] 36 | pub standard_license_template: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub license_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub see_also: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub is_osi_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `license_list_version` is never read [INFO] [stdout] --> src/license/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct LicenseList { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 46 | pub license_list_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.41s [INFO] running `Command { std: "docker" "inspect" "a94a3aca977ad73c6744b2139ba01f0fb1dfa7679d21a357d5ec9c4dd5fe33eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94a3aca977ad73c6744b2139ba01f0fb1dfa7679d21a357d5ec9c4dd5fe33eb", kill_on_drop: false }` [INFO] [stdout] a94a3aca977ad73c6744b2139ba01f0fb1dfa7679d21a357d5ec9c4dd5fe33eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b1e12d940b49289e606691c0a8a85d68618f32a6c03645e548a2273c9369fd [INFO] running `Command { std: "docker" "start" "-a" "52b1e12d940b49289e606691c0a8a85d68618f32a6c03645e548a2273c9369fd", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling copyup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/license/mod.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn fetch_list() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn fetch_list() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/license/mod.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference`, `is_deprecated_license_id`, `reference_number`, `see_also`, and `is_osi_approved` are never read [INFO] [stdout] --> src/license/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LicenseEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub reference: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub is_deprecated_license_id: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub details_url: String, [INFO] [stdout] 17 | pub reference_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub see_also: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub is_osi_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/license/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LicenseDetails { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 33 | pub is_deprecated_license_id: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub is_fsf_libre: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | pub license_text: String, [INFO] [stdout] 36 | pub standard_license_template: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub license_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub see_also: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub is_osi_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `license_list_version` is never read [INFO] [stdout] --> src/license/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct LicenseList { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 46 | pub license_list_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LicenseList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "52b1e12d940b49289e606691c0a8a85d68618f32a6c03645e548a2273c9369fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b1e12d940b49289e606691c0a8a85d68618f32a6c03645e548a2273c9369fd", kill_on_drop: false }` [INFO] [stdout] 52b1e12d940b49289e606691c0a8a85d68618f32a6c03645e548a2273c9369fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08c7fddc6943f7bda596a05abd07c39ac03f6041887dfd086b21d76bcd6d845a [INFO] running `Command { std: "docker" "start" "-a" "08c7fddc6943f7bda596a05abd07c39ac03f6041887dfd086b21d76bcd6d845a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/license/mod.rs:50:48 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 50 | pub fn fetch_list() -> Result> { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 | pub fn fetch_list() -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/license/mod.rs:111:52 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 111 | pub fn fetch_text(&self) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: fields `reference`, `is_deprecated_license_id`, `reference_number`, `see_also`, and `is_osi_approved` are never read [INFO] [stderr] --> src/license/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct LicenseEntry { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 14 | pub reference: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 15 | pub is_deprecated_license_id: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | pub details_url: String, [INFO] [stderr] 17 | pub reference_number: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub see_also: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 21 | pub is_osi_approved: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LicenseEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/license/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct LicenseDetails { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 33 | pub is_deprecated_license_id: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | pub is_fsf_libre: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 35 | pub license_text: String, [INFO] [stderr] 36 | pub standard_license_template: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 37 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 38 | pub license_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 39 | pub see_also: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 40 | pub is_osi_approved: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LicenseDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `license_list_version` is never read [INFO] [stderr] --> src/license/mod.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct LicenseList { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 46 | pub license_list_version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LicenseList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `copyup` (bin "copyup" test) generated 5 warnings (run `cargo fix --bin "copyup" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/copyup-e662556a60ffbebe) [INFO] running `Command { std: "docker" "inspect" "08c7fddc6943f7bda596a05abd07c39ac03f6041887dfd086b21d76bcd6d845a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c7fddc6943f7bda596a05abd07c39ac03f6041887dfd086b21d76bcd6d845a", kill_on_drop: false }` [INFO] [stdout] 08c7fddc6943f7bda596a05abd07c39ac03f6041887dfd086b21d76bcd6d845a