[INFO] cloning repository https://github.com/Nullus157/cargo-dl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nullus157/cargo-dl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullus157%2Fcargo-dl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullus157%2Fcargo-dl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58b4787db50cf6483f9e941dba768bbdcb465879 [INFO] checking Nullus157/cargo-dl/58b4787db50cf6483f9e941dba768bbdcb465879 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullus157%2Fcargo-dl" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nullus157/cargo-dl on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nullus157/cargo-dl [INFO] finished tweaking git repo https://github.com/Nullus157/cargo-dl [INFO] tweaked toml for git repo https://github.com/Nullus157/cargo-dl written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nullus157/cargo-dl 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f731f1752edc0cc9e603cfde637e5fa2524945ab8775c1beaf6d9b06ec7c49f [INFO] running `Command { std: "docker" "start" "-a" "8f731f1752edc0cc9e603cfde637e5fa2524945ab8775c1beaf6d9b06ec7c49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f731f1752edc0cc9e603cfde637e5fa2524945ab8775c1beaf6d9b06ec7c49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f731f1752edc0cc9e603cfde637e5fa2524945ab8775c1beaf6d9b06ec7c49f", kill_on_drop: false }` [INFO] [stdout] 8f731f1752edc0cc9e603cfde637e5fa2524945ab8775c1beaf6d9b06ec7c49f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee80a1acfb517c0ff19d5f5bebcf049e28a5b0a234d4e5c29fbb487dc0a08be5 [INFO] running `Command { std: "docker" "start" "-a" "ee80a1acfb517c0ff19d5f5bebcf049e28a5b0a234d4e5c29fbb487dc0a08be5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Compiling stylish-style v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking stack_dst v0.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling stylish-macros v0.1.1 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Checking with_builtin_macros v0.0.3 [INFO] [stderr] Checking stylish-core v0.1.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [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] Compiling fn-error-context v0.2.1 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.2 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking culpa v1.0.1 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking clap v4.4.4 [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 ureq v2.7.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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.82s [INFO] running `Command { std: "docker" "inspect" "ee80a1acfb517c0ff19d5f5bebcf049e28a5b0a234d4e5c29fbb487dc0a08be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee80a1acfb517c0ff19d5f5bebcf049e28a5b0a234d4e5c29fbb487dc0a08be5", kill_on_drop: false }` [INFO] [stdout] ee80a1acfb517c0ff19d5f5bebcf049e28a5b0a234d4e5c29fbb487dc0a08be5