[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/41fea568b447b39fa0c909ace12bacebe59704fe against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fswinstall_stack" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlgerber/swinstall_stack on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "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-4-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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.1.49 [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded quick-xml v0.13.1 [INFO] [stderr] Downloaded encoding_rs v0.8.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e11a7614648a807ac7f07f93cb7be31c8f92d51360b54de4dc5747fe813a56c [INFO] running `Command { std: "docker" "start" "-a" "9e11a7614648a807ac7f07f93cb7be31c8f92d51360b54de4dc5747fe813a56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e11a7614648a807ac7f07f93cb7be31c8f92d51360b54de4dc5747fe813a56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e11a7614648a807ac7f07f93cb7be31c8f92d51360b54de4dc5747fe813a56c", kill_on_drop: false }` [INFO] [stdout] 9e11a7614648a807ac7f07f93cb7be31c8f92d51360b54de4dc5747fe813a56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b107b70337cf4bb9d6313a186f44c04aa79184bb7546731842795a456a85805 [INFO] running `Command { std: "docker" "start" "-a" "0b107b70337cf4bb9d6313a186f44c04aa79184bb7546731842795a456a85805", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.6 [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 unicode-width v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking termcolor v1.0.4 [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 structopt v0.2.14 [INFO] [stderr] Checking quick-xml v0.13.1 [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: 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: 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: 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 21.14s [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" "0b107b70337cf4bb9d6313a186f44c04aa79184bb7546731842795a456a85805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b107b70337cf4bb9d6313a186f44c04aa79184bb7546731842795a456a85805", kill_on_drop: false }` [INFO] [stdout] 0b107b70337cf4bb9d6313a186f44c04aa79184bb7546731842795a456a85805