[INFO] fetching crate cargo-dl 0.1.5... [INFO] checking cargo-dl-0.1.5 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate cargo-dl 0.1.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cargo-dl 0.1.5 [INFO] finished tweaking crates.io crate cargo-dl 0.1.5 [INFO] tweaked toml for crates.io crate cargo-dl 0.1.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-dl 0.1.5 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-dl 0.1.5 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88215b1d9514677c9d3456e4d5667b38b6d8bbfd0c236f4e640c0131e676fa08 [INFO] running `Command { std: "docker" "start" "-a" "88215b1d9514677c9d3456e4d5667b38b6d8bbfd0c236f4e640c0131e676fa08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88215b1d9514677c9d3456e4d5667b38b6d8bbfd0c236f4e640c0131e676fa08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88215b1d9514677c9d3456e4d5667b38b6d8bbfd0c236f4e640c0131e676fa08", kill_on_drop: false }` [INFO] [stdout] 88215b1d9514677c9d3456e4d5667b38b6d8bbfd0c236f4e640c0131e676fa08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06718162d6ca4a368a7b1a22acd3a6ae1933449f19cd2b35be4c306bd99f62d4 [INFO] running `Command { std: "docker" "start" "-a" "06718162d6ca4a368a7b1a22acd3a6ae1933449f19cd2b35be4c306bd99f62d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling stylish-style v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking stack_dst v0.6.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling stylish-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking with_builtin_macros v0.0.3 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.2 [INFO] [stderr] Checking stylish-core v0.1.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling culpa-macros v1.0.1 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking culpa v1.0.1 [INFO] [stderr] Compiling fn-error-context v0.2.1 [INFO] [stderr] Checking ureq v2.7.1 [INFO] [stderr] Checking stylish-ansi v0.1.1 [INFO] [stderr] Checking stylish v0.1.0 [INFO] [stderr] Checking crates-index v2.10.1 [INFO] [stderr] Checking cargo-dl 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/main.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(thiserror::Error, Copy, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LoggedError` [INFO] [stdout] 93 | struct LoggedError; [INFO] [stdout] | ----------- `LoggedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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/crate_name.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(thiserror::Error, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 5 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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/package_id_spec.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 10 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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/main.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(thiserror::Error, Copy, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LoggedError` [INFO] [stdout] 93 | struct LoggedError; [INFO] [stdout] | ----------- `LoggedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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/crate_name.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(thiserror::Error, Clone, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 5 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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/package_id_spec.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(thiserror::Error, Debug, displaydoc::Display)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_ParseError` [INFO] [stdout] 10 | pub(crate) enum ParseError { [INFO] [stdout] | ---------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `displaydoc::Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `displaydoc::Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `displaydoc::Display` (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 1m 11s [INFO] running `Command { std: "docker" "inspect" "06718162d6ca4a368a7b1a22acd3a6ae1933449f19cd2b35be4c306bd99f62d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06718162d6ca4a368a7b1a22acd3a6ae1933449f19cd2b35be4c306bd99f62d4", kill_on_drop: false }` [INFO] [stdout] 06718162d6ca4a368a7b1a22acd3a6ae1933449f19cd2b35be4c306bd99f62d4