[INFO] fetching crate canadensis_core 0.3.0... [INFO] checking canadensis_core-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate canadensis_core 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate canadensis_core 0.3.0 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 canadensis_core 0.3.0 [INFO] finished tweaking crates.io crate canadensis_core 0.3.0 [INFO] tweaked toml for crates.io crate canadensis_core 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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] 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] d30a12959dd718b29a45788c0fd8e8eb2b5822d1717d0b14b556caa6164d6398 [INFO] running `Command { std: "docker" "start" "-a" "d30a12959dd718b29a45788c0fd8e8eb2b5822d1717d0b14b556caa6164d6398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d30a12959dd718b29a45788c0fd8e8eb2b5822d1717d0b14b556caa6164d6398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30a12959dd718b29a45788c0fd8e8eb2b5822d1717d0b14b556caa6164d6398", kill_on_drop: false }` [INFO] [stdout] d30a12959dd718b29a45788c0fd8e8eb2b5822d1717d0b14b556caa6164d6398 [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] 08a645c5f2f819ec518f32ab7db5a090e9e280181348c6243a3a70daae070dba [INFO] running `Command { std: "docker" "start" "-a" "08a645c5f2f819ec518f32ab7db5a090e9e280181348c6243a3a70daae070dba", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking fallible_collections v0.4.9 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Checking canadensis_core v0.3.0 (/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/lib.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_SubjectId` [INFO] [stdout] 38 | pub struct SubjectId(u16); [INFO] [stdout] | --------- `SubjectId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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/lib.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_ServiceId` [INFO] [stdout] 91 | pub struct ServiceId(u16); [INFO] [stdout] | --------- `ServiceId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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/lib.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_PortId` [INFO] [stdout] 133 | pub struct PortId(u16); [INFO] [stdout] | ------ `PortId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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/lib.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_SubjectId` [INFO] [stdout] 38 | pub struct SubjectId(u16); [INFO] [stdout] | --------- `SubjectId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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/lib.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_ServiceId` [INFO] [stdout] 91 | pub struct ServiceId(u16); [INFO] [stdout] | --------- `ServiceId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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/lib.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash, Hash32)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_PortId` [INFO] [stdout] 133 | pub struct PortId(u16); [INFO] [stdout] | ------ `PortId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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: 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 `Hash32` (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 1.88s [INFO] running `Command { std: "docker" "inspect" "08a645c5f2f819ec518f32ab7db5a090e9e280181348c6243a3a70daae070dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a645c5f2f819ec518f32ab7db5a090e9e280181348c6243a3a70daae070dba", kill_on_drop: false }` [INFO] [stdout] 08a645c5f2f819ec518f32ab7db5a090e9e280181348c6243a3a70daae070dba