[INFO] fetching crate hagen-core 0.1.5... [INFO] testing hagen-core-0.1.5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate hagen-core 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate hagen-core 0.1.5 [INFO] finished tweaking crates.io crate hagen-core 0.1.5 [INFO] tweaked toml for crates.io crate hagen-core 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hagen-core 0.1.5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding handlebars v3.5.5 (available: v6.3.2) [INFO] [stderr] Adding jsonpath_lib v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding pulldown-cmark v0.6.1 (available: v0.13.0) [INFO] [stderr] Adding quick-xml v0.17.2 (available: v0.38.3) [INFO] [stderr] Adding relative-path v1.9.3 (available: v2.0.1) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding strum v0.17.1 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.17.1 (available: v0.27.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.17.1 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded array_tool v1.0.3 [INFO] [stderr] Downloaded strum v0.17.1 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded handlebars v3.5.5 [INFO] [stderr] Downloaded pulldown-cmark v0.6.1 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded quick-xml v0.17.2 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded jsonpath_lib v0.2.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d32abf534900d757808d49c36bd61a0dad11cc1e228c587651064212f9ef087 [INFO] running `Command { std: "docker" "start" "-a" "8d32abf534900d757808d49c36bd61a0dad11cc1e228c587651064212f9ef087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d32abf534900d757808d49c36bd61a0dad11cc1e228c587651064212f9ef087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d32abf534900d757808d49c36bd61a0dad11cc1e228c587651064212f9ef087", kill_on_drop: false }` [INFO] [stdout] 8d32abf534900d757808d49c36bd61a0dad11cc1e228c587651064212f9ef087 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6fb41f2834f35a5eec47d734a4b461271c6df55b82f7622e00bba4800b1d52 [INFO] running `Command { std: "docker" "start" "-a" "6b6fb41f2834f35a5eec47d734a4b461271c6df55b82f7622e00bba4800b1d52", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pulldown-cmark v0.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling strum v0.17.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling jsonpath_lib v0.2.6 [INFO] [stderr] Compiling hagen-core v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/time.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | let result = Url::parse(&output.site_url).map_err(|err| RenderError::with(err))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | result.join(url).map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/error.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | RenderError::with(err.compat()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/generator.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | url: url.into_string(), [INFO] [stdout] | ^^^^^^^^^^^ [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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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 26.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.17.2 [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" "6b6fb41f2834f35a5eec47d734a4b461271c6df55b82f7622e00bba4800b1d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6fb41f2834f35a5eec47d734a4b461271c6df55b82f7622e00bba4800b1d52", kill_on_drop: false }` [INFO] [stdout] 6b6fb41f2834f35a5eec47d734a4b461271c6df55b82f7622e00bba4800b1d52 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 739f6bcad09ec0d3e242b5a98a6ecec36a757be6453cc0b4bc14548dcf050520 [INFO] running `Command { std: "docker" "start" "-a" "739f6bcad09ec0d3e242b5a98a6ecec36a757be6453cc0b4bc14548dcf050520", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/time.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | let result = Url::parse(&output.site_url).map_err(|err| RenderError::with(err))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | result.join(url).map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/error.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | RenderError::with(err.compat()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/generator.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | url: url.into_string(), [INFO] [stdout] | ^^^^^^^^^^^ [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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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 hagen-core v0.1.5 (/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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/time.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | let result = Url::parse(&output.site_url).map_err(|err| RenderError::with(err))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/helper/url.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | result.join(url).map_err(|err| RenderError::with(err))? [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stdout] --> src/error.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | RenderError::with(err.compat()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/generator.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | url: url.into_string(), [INFO] [stdout] | ^^^^^^^^^^^ [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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_GeneratorError` [INFO] [stdout] 7 | pub enum GeneratorError { [INFO] [stdout] | -------------- `GeneratorError` 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 2.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.17.2 [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" "739f6bcad09ec0d3e242b5a98a6ecec36a757be6453cc0b4bc14548dcf050520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739f6bcad09ec0d3e242b5a98a6ecec36a757be6453cc0b4bc14548dcf050520", kill_on_drop: false }` [INFO] [stdout] 739f6bcad09ec0d3e242b5a98a6ecec36a757be6453cc0b4bc14548dcf050520 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9d7bb6cfa9c61530bbd592d1a36a1842c1f1b68c7bbb1865055237a954cfda5 [INFO] running `Command { std: "docker" "start" "-a" "b9d7bb6cfa9c61530bbd592d1a36a1842c1f1b68c7bbb1865055237a954cfda5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/time.rs:31:49 [INFO] [stderr] | [INFO] [stderr] 31 | .map_err(|err| RenderError::with(err))? [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/url.rs:29:74 [INFO] [stderr] | [INFO] [stderr] 29 | let result = Url::parse(&output.site_url).map_err(|err| RenderError::with(err))?; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/url.rs:35:41 [INFO] [stderr] | [INFO] [stderr] 35 | .map_err(|err| RenderError::with(err))? [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/url.rs:40:41 [INFO] [stderr] | [INFO] [stderr] 40 | .map_err(|err| RenderError::with(err))? [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/url.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | .map_err(|err| RenderError::with(err))? [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/helper/url.rs:45:53 [INFO] [stderr] | [INFO] [stderr] 45 | result.join(url).map_err(|err| RenderError::with(err))? [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `handlebars::RenderError::with` [INFO] [stderr] --> src/error.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | RenderError::with(err.compat()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stderr] --> src/generator.rs:83:22 [INFO] [stderr] | [INFO] [stderr] 83 | url: url.into_string(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[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_GeneratorError` [INFO] [stderr] 7 | pub enum GeneratorError { [INFO] [stderr] | -------------- `GeneratorError` 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/error.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[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_GeneratorError` [INFO] [stderr] 7 | pub enum GeneratorError { [INFO] [stderr] | -------------- `GeneratorError` 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: `hagen-core` (lib) generated 10 warnings [INFO] [stderr] warning: `hagen-core` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.17.2 [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/hagen_core-8ae652c329066149) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test generator::tests::test_backslash ... ok [INFO] [stdout] test helper::url::tests::test_2 ... ok [INFO] [stdout] test helper::url::tests::test_3 ... ok [INFO] [stdout] test generator::tests::test_double_back ... ok [INFO] [stdout] test generator::tests::test_1 ... ok [INFO] [stdout] test generator::tests::test_double_back_2 ... ok [INFO] [stdout] test generator::tests::test_double ... ok [INFO] [stdout] test generator::tests::test_double_2 ... ok [INFO] [stdout] test helper::url::tests::test_1 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_1 ... ok [INFO] [stdout] test helper::sort::test::test_sort_array_1 ... ok [INFO] [stdout] test helper::sort::test::test_sort_map_1 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_base_1 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_empty_arg ... ok [INFO] [stdout] test helper::url::tests::test_4 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_3 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_2 ... ok [INFO] [stdout] test helper::url::tests::test_active_1 ... ok [INFO] [stdout] test helper::url::tests::test_active_3 ... ok [INFO] [stdout] test helper::url::tests::test_absolute_url_base_index ... ok [INFO] [stdout] test loader::tests::test_path_3 ... ok [INFO] [stdout] test loader::tests::test_path_2 ... ok [INFO] [stdout] test helper::url::tests::test_render_url_base_index ... ok [INFO] [stdout] test helper::url::tests::test_render_url_base_1 ... ok [INFO] [stdout] test helper::url::tests::test_active_index_2 ... ok [INFO] [stdout] test loader::tests::test_path_root_first ... ok [INFO] [stdout] test helper::url::tests::test_relative_url_1 ... ok [INFO] [stdout] test helper::url::tests::test_active_index_1 ... ok [INFO] [stdout] test helper::url::tests::test_relative_url_2 ... ok [INFO] [stdout] test loader::tests::test_path_root ... ok [INFO] [stdout] test helper::url::tests::test_relative_url_3 ... ok [INFO] [stdout] test helper::url::tests::test_relative_url_empty_arg ... ok [INFO] [stdout] test helper::url::tests::test_active_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests hagen_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b9d7bb6cfa9c61530bbd592d1a36a1842c1f1b68c7bbb1865055237a954cfda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d7bb6cfa9c61530bbd592d1a36a1842c1f1b68c7bbb1865055237a954cfda5", kill_on_drop: false }` [INFO] [stdout] b9d7bb6cfa9c61530bbd592d1a36a1842c1f1b68c7bbb1865055237a954cfda5