[INFO] cloning repository https://github.com/jlgerber/swinstall_stack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlgerber/swinstall_stack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fswinstall_stack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fswinstall_stack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41fea568b447b39fa0c909ace12bacebe59704fe [INFO] checking jlgerber/swinstall_stack against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fswinstall_stack" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlgerber/swinstall_stack on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlgerber/swinstall_stack [INFO] finished tweaking git repo https://github.com/jlgerber/swinstall_stack [INFO] tweaked toml for git repo https://github.com/jlgerber/swinstall_stack written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jlgerber/swinstall_stack 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded quick-xml v0.13.1 [INFO] [stderr] Downloaded redox_syscall v0.1.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c9fdd90982213877e9f17411dd1e7a0008eb3136b67b9583314e85dcc3572d [INFO] running `Command { std: "docker" "start" "-a" "88c9fdd90982213877e9f17411dd1e7a0008eb3136b67b9583314e85dcc3572d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c9fdd90982213877e9f17411dd1e7a0008eb3136b67b9583314e85dcc3572d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c9fdd90982213877e9f17411dd1e7a0008eb3136b67b9583314e85dcc3572d", kill_on_drop: false }` [INFO] [stdout] 88c9fdd90982213877e9f17411dd1e7a0008eb3136b67b9583314e85dcc3572d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ddd441eaf3725ab1dd6d449ee0a8c704bdb1bd93810952c5ce44e961f3f70c [INFO] running `Command { std: "docker" "start" "-a" "37ddd441eaf3725ab1dd6d449ee0a8c704bdb1bd93810952c5ce44e961f3f70c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking quick-xml v0.13.1 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking swinstall_stack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/parser.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/parser.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/schemas/one.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 207 | / loop { [INFO] [stdout] 208 | | match reader.read_event(&mut buf) { [INFO] [stdout] 209 | | Ok(Event::Empty(ref e)) => { [INFO] [stdout] 210 | | in_empty = true; [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 262 | Err(SwInstallError::NoCurrentFound)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/schemas/one.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 207 | / loop { [INFO] [stdout] 208 | | match reader.read_event(&mut buf) { [INFO] [stdout] 209 | | Ok(Event::Empty(ref e)) => { [INFO] [stdout] 210 | | in_empty = true; [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 262 | Err(SwInstallError::NoCurrentFound)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/parser.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | fn current(&self, reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/parser.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/parser.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | fn current(&self, reader: &mut Reader) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/parser.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datetime` [INFO] [stdout] --> src/parser.rs:191:70 [INFO] [stdout] | [INFO] [stdout] 191 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_empty` is never read [INFO] [stdout] --> src/schemas/one.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut in_empty = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_empty` is never read [INFO] [stdout] --> src/schemas/one.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut in_empty = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_SwInstallError` [INFO] [stdout] 10 | pub enum SwInstallError { [INFO] [stdout] | -------------- `SwInstallError` 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:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_SwInstallError` [INFO] [stdout] 10 | pub enum SwInstallError { [INFO] [stdout] | -------------- `SwInstallError` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_SwInstallError` [INFO] [stdout] 10 | pub enum SwInstallError { [INFO] [stdout] | -------------- `SwInstallError` 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:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_SwInstallError` [INFO] [stdout] 10 | pub enum SwInstallError { [INFO] [stdout] | -------------- `SwInstallError` 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.13.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "37ddd441eaf3725ab1dd6d449ee0a8c704bdb1bd93810952c5ce44e961f3f70c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ddd441eaf3725ab1dd6d449ee0a8c704bdb1bd93810952c5ce44e961f3f70c", kill_on_drop: false }` [INFO] [stdout] 37ddd441eaf3725ab1dd6d449ee0a8c704bdb1bd93810952c5ce44e961f3f70c