[INFO] fetching crate movey-utils 0.0.2... [INFO] testing movey-utils-0.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate movey-utils 0.0.2 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate movey-utils 0.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 160 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.48) [INFO] [stderr] Adding config v0.10.1 (available: v0.15.18) [INFO] [stderr] Adding serial_test v0.9.0 (available: v3.2.0) [INFO] [stderr] Adding toml_edit v0.15.0 (available: v0.23.6) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa42b29a7441d4bcc9079df01abece2525f08e91e125850b91f245664b05bc1e [INFO] running `Command { std: "docker" "start" "-a" "fa42b29a7441d4bcc9079df01abece2525f08e91e125850b91f245664b05bc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa42b29a7441d4bcc9079df01abece2525f08e91e125850b91f245664b05bc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa42b29a7441d4bcc9079df01abece2525f08e91e125850b91f245664b05bc1e", kill_on_drop: false }` [INFO] [stdout] fa42b29a7441d4bcc9079df01abece2525f08e91e125850b91f245664b05bc1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afb5367d57d74e48f607e253adac9cbf8d789e8be3cab0d607aa49d8554afc1b [INFO] running `Command { std: "docker" "start" "-a" "afb5367d57d74e48f607e253adac9cbf8d789e8be3cab0d607aa49d8554afc1b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling syslog v5.0.0 [INFO] [stderr] Compiling term v1.2.0 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling slog-syslog v0.13.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling slog-term v2.9.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serial_test_derive v0.9.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling toml_edit v0.15.0 [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 38.36s [INFO] running `Command { std: "docker" "inspect" "afb5367d57d74e48f607e253adac9cbf8d789e8be3cab0d607aa49d8554afc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb5367d57d74e48f607e253adac9cbf8d789e8be3cab0d607aa49d8554afc1b", kill_on_drop: false }` [INFO] [stdout] afb5367d57d74e48f607e253adac9cbf8d789e8be3cab0d607aa49d8554afc1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55654828f8ad832ee544a0fd259f60f1c4ecf10d76b822339ca49e0a2f55c8a [INFO] running `Command { std: "docker" "start" "-a" "d55654828f8ad832ee544a0fd259f60f1c4ecf10d76b822339ca49e0a2f55c8a", 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]: failed to resolve: use of unresolved module or unlinked crate `utils` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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]: failed to resolve: use of undeclared type `AppConfig` [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" "d55654828f8ad832ee544a0fd259f60f1c4ecf10d76b822339ca49e0a2f55c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55654828f8ad832ee544a0fd259f60f1c4ecf10d76b822339ca49e0a2f55c8a", kill_on_drop: false }` [INFO] [stdout] d55654828f8ad832ee544a0fd259f60f1c4ecf10d76b822339ca49e0a2f55c8a