[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] testing jlgerber/swinstall_stack against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fswinstall_stack" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlgerber/swinstall_stack on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9aa557832cdf4cf20709673bea4e0a143e9566a12b9b256a595b55e6d81ec94 [INFO] running `Command { std: "docker" "start" "-a" "b9aa557832cdf4cf20709673bea4e0a143e9566a12b9b256a595b55e6d81ec94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9aa557832cdf4cf20709673bea4e0a143e9566a12b9b256a595b55e6d81ec94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9aa557832cdf4cf20709673bea4e0a143e9566a12b9b256a595b55e6d81ec94", kill_on_drop: false }` [INFO] [stdout] b9aa557832cdf4cf20709673bea4e0a143e9566a12b9b256a595b55e6d81ec94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b575fc3bb04cb14ed0c6d08ffca5516e7811722fdfff112c423333845af494c [INFO] running `Command { std: "docker" "start" "-a" "1b575fc3bb04cb14ed0c6d08ffca5516e7811722fdfff112c423333845af494c", 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] Compiling 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] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling quick-xml v0.13.1 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 7.71s [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" "1b575fc3bb04cb14ed0c6d08ffca5516e7811722fdfff112c423333845af494c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b575fc3bb04cb14ed0c6d08ffca5516e7811722fdfff112c423333845af494c", kill_on_drop: false }` [INFO] [stdout] 1b575fc3bb04cb14ed0c6d08ffca5516e7811722fdfff112c423333845af494c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f057274b1b467380d700d61d896421a60f7a846b04308f94ed2aa7a1946b91a9 [INFO] running `Command { std: "docker" "start" "-a" "f057274b1b467380d700d61d896421a60f7a846b04308f94ed2aa7a1946b91a9", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling swinstall_stack v0.1.0 (/opt/rustwide/workdir) [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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.54s [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" "f057274b1b467380d700d61d896421a60f7a846b04308f94ed2aa7a1946b91a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f057274b1b467380d700d61d896421a60f7a846b04308f94ed2aa7a1946b91a9", kill_on_drop: false }` [INFO] [stdout] f057274b1b467380d700d61d896421a60f7a846b04308f94ed2aa7a1946b91a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19b72c0cb7718b17a450e9b2248f6b9d30bacb925db4136682bef3736e2359cd [INFO] running `Command { std: "docker" "start" "-a" "19b72c0cb7718b17a450e9b2248f6b9d30bacb925db4136682bef3736e2359cd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/parser.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/schemas/one.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 207 | / loop { [INFO] [stderr] 208 | | match reader.read_event(&mut buf) { [INFO] [stderr] 209 | | Ok(Event::Empty(ref e)) => { [INFO] [stderr] 210 | | in_empty = true; [INFO] [stderr] ... | [INFO] [stderr] 261 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 262 | Err(SwInstallError::NoCurrentFound)? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `in_empty` is never read [INFO] [stderr] --> src/schemas/one.rs:206:17 [INFO] [stderr] | [INFO] [stderr] 206 | let mut in_empty = false; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) 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:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[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_SwInstallError` [INFO] [stderr] 10 | pub enum SwInstallError { [INFO] [stderr] | -------------- `SwInstallError` 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:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[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_SwInstallError` [INFO] [stderr] 10 | pub enum SwInstallError { [INFO] [stderr] | -------------- `SwInstallError` 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: `swinstall_stack` (lib) generated 5 warnings (run `cargo fix --lib -p swinstall_stack` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/parser.rs:162:27 [INFO] [stderr] | [INFO] [stderr] 162 | fn current(&self, reader: &mut Reader) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/parser.rs:167:30 [INFO] [stderr] | [INFO] [stderr] 167 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `datetime` [INFO] [stderr] --> src/parser.rs:167:70 [INFO] [stderr] | [INFO] [stderr] 167 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/parser.rs:186:27 [INFO] [stderr] | [INFO] [stderr] 186 | fn current(&self, reader: &mut Reader) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/parser.rs:191:30 [INFO] [stderr] | [INFO] [stderr] 191 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `datetime` [INFO] [stderr] --> src/parser.rs:191:70 [INFO] [stderr] | [INFO] [stderr] 191 | fn current_at(&self, reader: &mut Reader, datetime: &NaiveDateTime) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datetime` [INFO] [stderr] [INFO] [stderr] warning: `swinstall_stack` (lib test) generated 11 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swinstall_stack-6338d70d41e5ff23) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test parser::tests::get_swinstall_parser ... ok [INFO] [stdout] test parser::tests::register_schema ... ok [INFO] [stdout] test schemas::one::tests::elt_from_attrs ... ok [INFO] [stdout] test schemas::one::tests::elt_from_attrs_with_revision ... ok [INFO] [stdout] test schemas::two::tests::elt_from_attrs ... ok [INFO] [stdout] test utils::tests::swinstall_stack_from_versionless_file ... ok [INFO] [stdout] test utils::tests::versioned_file_from_versionless_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/swinst-01196ecda1e9b58c) [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] [stderr] Doc-tests swinstall_stack [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/traits.rs - traits (line 13) ... FAILED [INFO] [stdout] test src/schemas/one.rs - schemas::one (line 21) ... FAILED [INFO] [stdout] test src/schemas/one.rs - schemas::one (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/traits.rs - traits (line 13) stdout ---- [INFO] [stdout] error: expected item, found `-` [INFO] [stdout] --> src/traits.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 1 | - identifying the schema version of the swinstall_stack xml file [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schemas/one.rs - schemas::one (line 21) stdout ---- [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/schemas/one.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 1 | ._swinstall_store [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/schemas/one.rs - schemas::one (line 27) stdout ---- [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/schemas/one.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 1 | ._ [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/schemas/one.rs - schemas::one (line 21) [INFO] [stdout] src/schemas/one.rs - schemas::one (line 27) [INFO] [stdout] src/traits.rs - traits (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "19b72c0cb7718b17a450e9b2248f6b9d30bacb925db4136682bef3736e2359cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b72c0cb7718b17a450e9b2248f6b9d30bacb925db4136682bef3736e2359cd", kill_on_drop: false }` [INFO] [stdout] 19b72c0cb7718b17a450e9b2248f6b9d30bacb925db4136682bef3736e2359cd