[INFO] fetching crate movey-utils 0.0.2... [INFO] checking movey-utils-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate movey-utils 0.0.2 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate movey-utils 0.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 168 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.45) [INFO] [stderr] Adding config v0.10.1 (available: v0.15.14) [INFO] [stderr] Adding serial_test v0.9.0 (available: v3.2.0) [INFO] [stderr] Adding toml_edit v0.15.0 (available: v0.23.4) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0873e19ec37b71ae6941d913ff5830e30f2e257f7cfda6a8a922ca551f10af82 [INFO] running `Command { std: "docker" "start" "-a" "0873e19ec37b71ae6941d913ff5830e30f2e257f7cfda6a8a922ca551f10af82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0873e19ec37b71ae6941d913ff5830e30f2e257f7cfda6a8a922ca551f10af82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0873e19ec37b71ae6941d913ff5830e30f2e257f7cfda6a8a922ca551f10af82", kill_on_drop: false }` [INFO] [stdout] 0873e19ec37b71ae6941d913ff5830e30f2e257f7cfda6a8a922ca551f10af82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59328ec411d71ee3afcbcd4718a88924a4f5351b12d13cd21464987694b38afe [INFO] running `Command { std: "docker" "start" "-a" "59328ec411d71ee3afcbcd4718a88924a4f5351b12d13cd21464987694b38afe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking syslog v5.0.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking term v1.1.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking slog-stdlog v4.1.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking slog-syslog v0.13.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking slog-term v2.9.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serial_test_derive v0.9.0 [INFO] [stderr] Checking serial_test v0.9.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking toml_datetime v0.5.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_edit v0.15.0 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking 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] [stderr] error: could not compile `movey-utils` (test "test_config") due to 9 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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" "59328ec411d71ee3afcbcd4718a88924a4f5351b12d13cd21464987694b38afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59328ec411d71ee3afcbcd4718a88924a4f5351b12d13cd21464987694b38afe", kill_on_drop: false }` [INFO] [stdout] 59328ec411d71ee3afcbcd4718a88924a4f5351b12d13cd21464987694b38afe