[INFO] fetching crate movey-utils 0.0.2... [INFO] testing movey-utils-0.0.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate movey-utils 0.0.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate movey-utils 0.0.2 [INFO] finished tweaking crates.io crate movey-utils 0.0.2 [INFO] tweaked toml for crates.io crate movey-utils 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate movey-utils 0.0.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.6.1) [INFO] [stderr] Adding config v0.10.1 (available: v0.15.22) [INFO] [stderr] Adding serial_test v0.9.0 (available: v3.4.0) [INFO] [stderr] Adding toml_edit v0.15.0 (available: v0.25.11+spec-1.1.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.47 [INFO] [stderr] Downloaded serial_test v0.9.0 [INFO] [stderr] Downloaded slog-term v2.9.2 [INFO] [stderr] Downloaded toml_datetime v0.5.1 [INFO] [stderr] Downloaded strsim v0.10.0 [INFO] [stderr] Downloaded ryu v1.0.23 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded serde-hjson v0.9.1 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded core-foundation-sys v0.8.7 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.2 [INFO] [stderr] Downloaded chrono v0.4.44 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded hashbrown v0.14.5 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded futures v0.3.32 [INFO] [stderr] Downloaded parking_lot_core v0.9.12 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded slog-scope v4.4.1 [INFO] [stderr] Downloaded slog-stdlog v4.1.1 [INFO] [stderr] Downloaded slog-syslog v0.13.0 [INFO] [stderr] Downloaded windows-implement v0.60.2 [INFO] [stderr] Downloaded windows-strings v0.5.1 [INFO] [stderr] Downloaded windows-result v0.4.1 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded libredox v0.1.16 [INFO] [stderr] Downloaded futures-executor v0.3.32 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded windows-interface v0.59.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.118 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded time-core v0.1.8 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded version_check v0.9.5 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded syslog v5.0.0 [INFO] [stderr] Downloaded windows-core v0.62.2 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded deranged v0.5.8 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.27 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded js-sys v0.3.95 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.118 [INFO] [stderr] Downloaded erased-serde v0.3.31 [INFO] [stderr] Downloaded slog v2.8.2 [INFO] [stderr] Downloaded term v1.2.1 [INFO] [stderr] Downloaded num-conv v0.2.1 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded lock_api v0.4.14 [INFO] [stderr] Downloaded redox_syscall v0.5.18 [INFO] [stderr] Downloaded parking_lot v0.12.5 [INFO] [stderr] Downloaded android_system_properties v0.1.5 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.118 [INFO] [stderr] Downloaded combine v4.6.7 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded itertools v0.10.5 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded toml v0.5.11 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded slog-async v2.8.0 [INFO] [stderr] Downloaded arc-swap v1.9.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.65 [INFO] [stderr] Downloaded bumpalo v3.20.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.118 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded time-macros v0.2.27 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded serial_test_derive v0.9.0 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded toml_edit v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ed894a29ab6cfd94801e1cc59d733c469d71ef48a67c0d1aa33d91afa84066b [INFO] running `Command { std: "docker" "start" "-a" "2ed894a29ab6cfd94801e1cc59d733c469d71ef48a67c0d1aa33d91afa84066b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed894a29ab6cfd94801e1cc59d733c469d71ef48a67c0d1aa33d91afa84066b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed894a29ab6cfd94801e1cc59d733c469d71ef48a67c0d1aa33d91afa84066b", kill_on_drop: false }` [INFO] [stdout] 2ed894a29ab6cfd94801e1cc59d733c469d71ef48a67c0d1aa33d91afa84066b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78cec52f951233c525bc7b7bc7447521456f816f4c9f2bed0b68c266687a5e6e [INFO] running `Command { std: "docker" "start" "-a" "78cec52f951233c525bc7b7bc7447521456f816f4c9f2bed0b68c266687a5e6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syslog v5.0.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling term v1.2.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serial_test_derive v0.9.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling serial_test v0.9.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_edit v0.15.0 [INFO] [stderr] Compiling slog-scope v4.4.1 [INFO] [stderr] Compiling slog-syslog v0.13.0 [INFO] [stderr] Compiling slog-term v2.9.2 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling movey-utils v0.0.2 (/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:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, 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] 37 | 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: `#[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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.64s [INFO] running `Command { std: "docker" "inspect" "78cec52f951233c525bc7b7bc7447521456f816f4c9f2bed0b68c266687a5e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78cec52f951233c525bc7b7bc7447521456f816f4c9f2bed0b68c266687a5e6e", kill_on_drop: false }` [INFO] [stdout] 78cec52f951233c525bc7b7bc7447521456f816f4c9f2bed0b68c266687a5e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99f640d279d764155ebff1b5ccbcbb5949accdffcfd1b9ff57af1429c7b30350 [INFO] running `Command { std: "docker" "start" "-a" "99f640d279d764155ebff1b5ccbcbb5949accdffcfd1b9ff57af1429c7b30350", kill_on_drop: false }` [INFO] [stderr] Compiling movey-utils v0.0.2 (/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:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, 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] 37 | 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: `#[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] error[E0433]: cannot find module or crate `utils` in this scope [INFO] [stdout] --> tests/test_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use utils::app_config::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utils`, use `cargo add utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let config = AppConfig::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(AppConfig::get::("debug").unwrap(), false); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | AppConfig::get::("database.url").unwrap(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | AppConfig::set("database.url", "new url").unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let config = AppConfig::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `movey-utils` (test "test_config") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, 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] 37 | 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: `#[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] running `Command { std: "docker" "inspect" "99f640d279d764155ebff1b5ccbcbb5949accdffcfd1b9ff57af1429c7b30350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f640d279d764155ebff1b5ccbcbb5949accdffcfd1b9ff57af1429c7b30350", kill_on_drop: false }` [INFO] [stdout] 99f640d279d764155ebff1b5ccbcbb5949accdffcfd1b9ff57af1429c7b30350