[INFO] fetching crate cargo-dl 0.1.5... [INFO] checking cargo-dl-0.1.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cargo-dl 0.1.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cargo-dl 0.1.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] 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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ab86ab6d9f060d63605eaefa0c7eec3b4addcfba18fc4c44b77d202aac62019 [INFO] running `Command { std: "docker" "start" "-a" "7ab86ab6d9f060d63605eaefa0c7eec3b4addcfba18fc4c44b77d202aac62019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ab86ab6d9f060d63605eaefa0c7eec3b4addcfba18fc4c44b77d202aac62019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab86ab6d9f060d63605eaefa0c7eec3b4addcfba18fc4c44b77d202aac62019", kill_on_drop: false }` [INFO] [stdout] 7ab86ab6d9f060d63605eaefa0c7eec3b4addcfba18fc4c44b77d202aac62019 [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 -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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06c6b2fbbd8afb69bbf1ec7d1d149d77486e4b3d88a77eb0db56c27d7d65bedf [INFO] running `Command { std: "docker" "start" "-a" "06c6b2fbbd8afb69bbf1ec7d1d149d77486e4b3d88a77eb0db56c27d7d65bedf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling stylish-style v0.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking stack_dst v0.6.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking regex-automata v0.3.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [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 url v2.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.1.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 thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking smol_str v0.2.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking regex v1.9.4 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling stylish-macros v0.1.1 [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 tracing-attributes v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling culpa-macros v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling fn-error-context v0.2.1 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.2 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking culpa v1.0.1 [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: 3 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "06c6b2fbbd8afb69bbf1ec7d1d149d77486e4b3d88a77eb0db56c27d7d65bedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06c6b2fbbd8afb69bbf1ec7d1d149d77486e4b3d88a77eb0db56c27d7d65bedf", kill_on_drop: false }` [INFO] [stdout] 06c6b2fbbd8afb69bbf1ec7d1d149d77486e4b3d88a77eb0db56c27d7d65bedf