[INFO] fetching crate cargo-inspect 0.10.3... [INFO] testing cargo-inspect-0.10.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] extracting crate cargo-inspect 0.10.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate cargo-inspect 0.10.3 [INFO] finished tweaking crates.io crate cargo-inspect 0.10.3 [INFO] tweaked toml for crates.io crate cargo-inspect 0.10.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-inspect 0.10.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-inspect 0.10.3 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded derive_builder_core v0.9.0 [INFO] [stderr] Downloaded console v0.11.3 [INFO] [stderr] Downloaded proc-macro-error v1.0.2 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded structopt v0.3.14 [INFO] [stderr] Downloaded base64 v0.12.1 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded onig v6.0.0 [INFO] [stderr] Downloaded plist v1.0.0 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded line-wrap v0.1.1 [INFO] [stderr] Downloaded syntect v4.2.0 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded prettyprint v0.8.1 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded onig_sys v69.5.0 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded derive_builder v0.9.0 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded shell-words v0.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.2 [INFO] [stderr] Downloaded structopt-derive v0.4.7 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.3 [INFO] [stderr] Downloaded terminal_size v0.1.12 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 622b5f85e964a9ee3683ccc59fe6e7da09a28bd5f26737c332a5f5b211e344e5 [INFO] running `Command { std: "docker" "start" "-a" "622b5f85e964a9ee3683ccc59fe6e7da09a28bd5f26737c332a5f5b211e344e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622b5f85e964a9ee3683ccc59fe6e7da09a28bd5f26737c332a5f5b211e344e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622b5f85e964a9ee3683ccc59fe6e7da09a28bd5f26737c332a5f5b211e344e5", kill_on_drop: false }` [INFO] [stdout] 622b5f85e964a9ee3683ccc59fe6e7da09a28bd5f26737c332a5f5b211e344e5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a4d0f9135c639a25faad7227b34d5edc97bf2f82b9a147ba7d8291fb7806471f [INFO] running `Command { std: "docker" "start" "-a" "a4d0f9135c639a25faad7227b34d5edc97bf2f82b9a147ba7d8291fb7806471f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.12 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling onig_sys v69.5.0 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling plist v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling onig v6.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling syntect v4.2.0 [INFO] [stderr] Compiling prettyprint v0.8.1 [INFO] [stderr] Compiling cargo-inspect v0.10.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/hir.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut p = process::Command::new("cargo") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 42 - let mut p = process::Command::new("cargo") [INFO] [stdout] 42 + let mut p = Command::new("cargo") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/hir.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct HIR { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | /// Source file or crate of HIR [INFO] [stdout] 11 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/inspect/main.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | for cause in Fail::iter_causes(&err) { [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | for cause in ::iter_causes(&err) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.11s [INFO] running `Command { std: "docker" "inspect" "a4d0f9135c639a25faad7227b34d5edc97bf2f82b9a147ba7d8291fb7806471f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d0f9135c639a25faad7227b34d5edc97bf2f82b9a147ba7d8291fb7806471f", kill_on_drop: false }` [INFO] [stdout] a4d0f9135c639a25faad7227b34d5edc97bf2f82b9a147ba7d8291fb7806471f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9bede4109aea63bdb44fbfb04d7a881696f8b39fe562c036f6b6c28ca4763aaa [INFO] running `Command { std: "docker" "start" "-a" "9bede4109aea63bdb44fbfb04d7a881696f8b39fe562c036f6b6c28ca4763aaa", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/hir.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut p = process::Command::new("cargo") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 42 - let mut p = process::Command::new("cargo") [INFO] [stdout] 42 + let mut p = Command::new("cargo") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cargo-inspect v0.10.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/hir.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct HIR { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | /// Source file or crate of HIR [INFO] [stdout] 11 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/hir.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut p = process::Command::new("cargo") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 42 - let mut p = process::Command::new("cargo") [INFO] [stdout] 42 + let mut p = Command::new("cargo") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/inspect/main.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | for cause in Fail::iter_causes(&err) { [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | for cause in ::iter_causes(&err) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/hir.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct HIR { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | /// Source file or crate of HIR [INFO] [stdout] 11 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InspectError` [INFO] [stdout] 8 | /// Custom type for inspection errors [INFO] [stdout] 9 | pub enum InspectError { [INFO] [stdout] | ------------ `InspectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "9bede4109aea63bdb44fbfb04d7a881696f8b39fe562c036f6b6c28ca4763aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bede4109aea63bdb44fbfb04d7a881696f8b39fe562c036f6b6c28ca4763aaa", kill_on_drop: false }` [INFO] [stdout] 9bede4109aea63bdb44fbfb04d7a881696f8b39fe562c036f6b6c28ca4763aaa [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7570dcbf5dba7af7bab3ed3ca55e1c1f2592d1efa90a444e5bf3165aea889ae [INFO] running `Command { std: "docker" "start" "-a" "a7570dcbf5dba7af7bab3ed3ca55e1c1f2592d1efa90a444e5bf3165aea889ae", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/hir.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | let mut p = process::Command::new("cargo") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | unused_qualifications [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 42 - let mut p = process::Command::new("cargo") [INFO] [stderr] 42 + let mut p = Command::new("cargo") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `source` is never read [INFO] [stderr] --> src/hir.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct HIR { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 10 | /// Source file or crate of HIR [INFO] [stderr] 11 | pub source: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_InspectError` [INFO] [stderr] 8 | /// Custom type for inspection errors [INFO] [stderr] 9 | pub enum InspectError { [INFO] [stderr] | ------------ `InspectError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_InspectError` [INFO] [stderr] 8 | /// Custom type for inspection errors [INFO] [stderr] 9 | pub enum InspectError { [INFO] [stderr] | ------------ `InspectError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cargo-inspect` (lib) generated 4 warnings (run `cargo fix --lib -p cargo-inspect` to apply 1 suggestion) [INFO] [stderr] warning: `cargo-inspect` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/inspect/main.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | for cause in Fail::iter_causes(&err) { [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)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | for cause in ::iter_causes(&err) { [INFO] [stderr] | ++++ + [INFO] [stderr] [INFO] [stderr] warning: `cargo-inspect` (bin "cargo-inspect" test) generated 1 warning (run `cargo fix --bin "cargo-inspect" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cargo_inspect-9f08985de0b28424) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test comment::tests::test_is_block ... ok [INFO] [stdout] test comment::tests::test_is_comment ... ok [INFO] [stdout] test comment::tests::test_add_marker ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/inspect/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cargo_inspect-dd9b595b790cf98d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests cargo_inspect [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7570dcbf5dba7af7bab3ed3ca55e1c1f2592d1efa90a444e5bf3165aea889ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7570dcbf5dba7af7bab3ed3ca55e1c1f2592d1efa90a444e5bf3165aea889ae", kill_on_drop: false }` [INFO] [stdout] a7570dcbf5dba7af7bab3ed3ca55e1c1f2592d1efa90a444e5bf3165aea889ae