[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 master#caccb4d0368bd918ef6668af8e13834d07040417 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlgerber/swinstall_stack on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded synstructure v0.10.1 [INFO] [stderr] Downloaded log v0.4.6 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded structopt v0.2.14 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded backtrace-sys v0.1.28 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded env_logger v0.6.0 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded encoding_rs v0.8.13 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded redox_syscall v0.1.49 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded syn v0.15.23 [INFO] [stderr] Downloaded structopt-derive v0.2.14 [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded quick-xml v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f2331fdd082507983e1633faa1a01af9bac4157900c09ed7b387aa06257fd12 [INFO] running `Command { std: "docker" "start" "-a" "1f2331fdd082507983e1633faa1a01af9bac4157900c09ed7b387aa06257fd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f2331fdd082507983e1633faa1a01af9bac4157900c09ed7b387aa06257fd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2331fdd082507983e1633faa1a01af9bac4157900c09ed7b387aa06257fd12", kill_on_drop: false }` [INFO] [stdout] 1f2331fdd082507983e1633faa1a01af9bac4157900c09ed7b387aa06257fd12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62c9e11378fa768e4656ed79f76ef5141773f27b4857be501af896d3271a7138 [INFO] running `Command { std: "docker" "start" "-a" "62c9e11378fa768e4656ed79f76ef5141773f27b4857be501af896d3271a7138", 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 memchr v2.1.2 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling quick-xml v0.13.1 [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 8.83s [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" "62c9e11378fa768e4656ed79f76ef5141773f27b4857be501af896d3271a7138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62c9e11378fa768e4656ed79f76ef5141773f27b4857be501af896d3271a7138", kill_on_drop: false }` [INFO] [stdout] 62c9e11378fa768e4656ed79f76ef5141773f27b4857be501af896d3271a7138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91938c0015e04f86cdc22faaf1443f80596c9059fbf4723aec1bf74015b71c32 [INFO] running `Command { std: "docker" "start" "-a" "91938c0015e04f86cdc22faaf1443f80596c9059fbf4723aec1bf74015b71c32", 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.55s [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" "91938c0015e04f86cdc22faaf1443f80596c9059fbf4723aec1bf74015b71c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91938c0015e04f86cdc22faaf1443f80596c9059fbf4723aec1bf74015b71c32", kill_on_drop: false }` [INFO] [stdout] 91938c0015e04f86cdc22faaf1443f80596c9059fbf4723aec1bf74015b71c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d238ae2e80e9f014c99885f5600f0165dadf0baa70eb5ff6419024210ac73155 [INFO] running `Command { std: "docker" "start" "-a" "d238ae2e80e9f014c99885f5600f0165dadf0baa70eb5ff6419024210ac73155", 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: 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) generated 5 warnings (run `cargo fix --lib -p swinstall_stack` to apply 1 suggestion) [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swinstall_stack-6338d70d41e5ff23) [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::two::tests::elt_from_attrs ... ok [INFO] [stdout] test schemas::one::tests::elt_from_attrs_with_revision ... 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.01s [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 27) ... FAILED [INFO] [stdout] test src/schemas/one.rs - schemas::one (line 21) ... 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 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] ---- 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] [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.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d238ae2e80e9f014c99885f5600f0165dadf0baa70eb5ff6419024210ac73155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d238ae2e80e9f014c99885f5600f0165dadf0baa70eb5ff6419024210ac73155", kill_on_drop: false }` [INFO] [stdout] d238ae2e80e9f014c99885f5600f0165dadf0baa70eb5ff6419024210ac73155