[INFO] cloning repository https://github.com/jxson/to-directory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jxson/to-directory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjxson%2Fto-directory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjxson%2Fto-directory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76eb7fbe414431bef7154043b612ae15bb959c04 [INFO] checking jxson/to-directory against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjxson%2Fto-directory" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jxson/to-directory on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jxson/to-directory [INFO] finished tweaking git repo https://github.com/jxson/to-directory [INFO] tweaked toml for git repo https://github.com/jxson/to-directory written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jxson/to-directory 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "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 fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded mkdirp v1.0.0 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded cc v1.0.4 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded prettytable-rs v0.8.0 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded dirs v1.0.4 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded rustc-demangle v0.1.6 [INFO] [stderr] Downloaded unicode-width v0.1.4 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded loggerv v0.7.2 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded constant_time_eq v0.1.3 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded redox_syscall v0.1.37 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f9606300633b938da07b76590046e5e3341a770c67eb0c9e3d04d947abbed5c [INFO] running `Command { std: "docker" "start" "-a" "8f9606300633b938da07b76590046e5e3341a770c67eb0c9e3d04d947abbed5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f9606300633b938da07b76590046e5e3341a770c67eb0c9e3d04d947abbed5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9606300633b938da07b76590046e5e3341a770c67eb0c9e3d04d947abbed5c", kill_on_drop: false }` [INFO] [stdout] 8f9606300633b938da07b76590046e5e3341a770c67eb0c9e3d04d947abbed5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f02d345ff4c03337e58e9b52c49284a3f93a40409a6f46125eab5a7518f8bce [INFO] running `Command { std: "docker" "start" "-a" "7f02d345ff4c03337e58e9b52c49284a3f93a40409a6f46125eab5a7518f8bce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking loggerv v0.7.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking mkdirp v1.0.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking to-directory 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] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 10 | pub struct Error { [INFO] [stdout] | ----- `Error` 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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | #[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_ErrorKind` [INFO] [stdout] 54 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 10 | pub struct Error { [INFO] [stdout] | ----- `Error` 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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | #[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_ErrorKind` [INFO] [stdout] 54 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/failure.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[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_Error` [INFO] [stdout] 20 | pub struct Error { [INFO] [stdout] | ----- `Error` 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] --> examples/failure.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | #[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_ErrorKind` [INFO] [stdout] 54 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` 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 29.22s [INFO] running `Command { std: "docker" "inspect" "7f02d345ff4c03337e58e9b52c49284a3f93a40409a6f46125eab5a7518f8bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f02d345ff4c03337e58e9b52c49284a3f93a40409a6f46125eab5a7518f8bce", kill_on_drop: false }` [INFO] [stdout] 7f02d345ff4c03337e58e9b52c49284a3f93a40409a6f46125eab5a7518f8bce