[INFO] fetching crate abomonation_derive 0.5.0... [INFO] checking abomonation_derive-0.5.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate abomonation_derive 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate abomonation_derive 0.5.0 [INFO] finished tweaking crates.io crate abomonation_derive 0.5.0 [INFO] tweaked toml for crates.io crate abomonation_derive 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate abomonation_derive 0.5.0 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 7 packages to latest compatible versions [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.2) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 30b80066bbb467f73ae5881364f901f399ffaa16a445e85883e7e50715c1fd41 [INFO] running `Command { std: "docker" "start" "-a" "30b80066bbb467f73ae5881364f901f399ffaa16a445e85883e7e50715c1fd41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30b80066bbb467f73ae5881364f901f399ffaa16a445e85883e7e50715c1fd41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30b80066bbb467f73ae5881364f901f399ffaa16a445e85883e7e50715c1fd41", kill_on_drop: false }` [INFO] [stdout] 30b80066bbb467f73ae5881364f901f399ffaa16a445e85883e7e50715c1fd41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c162ecb2d06436bc56a4d08de7619adc0098e2b11bde5b68c09db7637d196c84 [INFO] running `Command { std: "docker" "start" "-a" "c162ecb2d06436bc56a4d08de7619adc0098e2b11bde5b68c09db7637d196c84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking synstructure v0.12.6 [INFO] [stderr] Checking abomonation_derive v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/test.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | struct NonAbomonable { }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [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] --> tests/test.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_Struct` [INFO] [stdout] 11 | pub struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 `Abomonation` (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] --> tests/test.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_EmptyStruct` [INFO] [stdout] 36 | pub struct EmptyStruct; [INFO] [stdout] | ----------- `EmptyStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_TupleStruct` [INFO] [stdout] 57 | pub struct TupleStruct(String, u64, Vec); [INFO] [stdout] | ----------- `TupleStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_GenericStruct` [INFO] [stdout] 78 | pub struct GenericStruct(T, u64, U); [INFO] [stdout] | ------------- `GenericStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_BasicEnum` [INFO] [stdout] 100 | pub enum BasicEnum { [INFO] [stdout] | --------- `BasicEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Eq, PartialEq, Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_DataEnum` [INFO] [stdout] 126 | pub enum DataEnum { [INFO] [stdout] | -------- `DataEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_GenericEnumWithBounds` [INFO] [stdout] 154 | pub enum GenericEnumWithBounds { [INFO] [stdout] | --------------------- `GenericEnumWithBounds` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Abomonation)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_StructWithPhantomMarker` and up 2 bodies [INFO] [stdout] 163 | pub struct StructWithPhantomMarker { [INFO] [stdout] | ----------------------- `StructWithPhantomMarker` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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] --> tests/test.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(Abomonation, Eq, PartialEq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Abomonation` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_abomonation_Abomonation_FOR_StructUsingCratePath` [INFO] [stdout] 186 | pub struct StructUsingCratePath { [INFO] [stdout] | -------------------- `StructUsingCratePath` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Abomonation` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Abomonation` may come from an old version of the `abomonation_derive` crate, try updating your dependency with `cargo update -p abomonation_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 warning originates in the derive macro `Abomonation` (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 6.32s [INFO] running `Command { std: "docker" "inspect" "c162ecb2d06436bc56a4d08de7619adc0098e2b11bde5b68c09db7637d196c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c162ecb2d06436bc56a4d08de7619adc0098e2b11bde5b68c09db7637d196c84", kill_on_drop: false }` [INFO] [stdout] c162ecb2d06436bc56a4d08de7619adc0098e2b11bde5b68c09db7637d196c84