[INFO] fetching crate telety 0.2.0... [INFO] checking telety-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate telety 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate telety 0.2.0 [INFO] finished tweaking crates.io crate telety 0.2.0 [INFO] tweaked toml for crates.io crate telety 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate telety 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded telety-macro v0.2.0 [INFO] [stderr] Downloaded telety-impl v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b35a4d81255193fd8d7632ce2311c9c6d2abd938938ab80c7c2e99f5aad2d8f0 [INFO] running `Command { std: "docker" "start" "-a" "b35a4d81255193fd8d7632ce2311c9c6d2abd938938ab80c7c2e99f5aad2d8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b35a4d81255193fd8d7632ce2311c9c6d2abd938938ab80c7c2e99f5aad2d8f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35a4d81255193fd8d7632ce2311c9c6d2abd938938ab80c7c2e99f5aad2d8f0", kill_on_drop: false }` [INFO] [stdout] b35a4d81255193fd8d7632ce2311c9c6d2abd938938ab80c7c2e99f5aad2d8f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc3269f1b39ffa4a08182d93c9c917e8725d0487b96942b6509ce93891725f6e [INFO] running `Command { std: "docker" "start" "-a" "cc3269f1b39ffa4a08182d93c9c917e8725d0487b96942b6509ce93891725f6e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking telety-impl v0.2.0 [INFO] [stderr] Compiling telety-macro v0.2.0 [INFO] [stderr] Checking telety v0.2.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] --> tests/fallback.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl YesMacro { [INFO] [stdout] | ^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `YesMacro` is not local [INFO] [stdout] ... [INFO] [stdout] 19 | / try_invoke!(self::YesMacro!("Yes"); [INFO] [stdout] 20 | | impl YesMacro { [INFO] [stdout] 21 | | pub const fn text() -> &'static str { [INFO] [stdout] 22 | | "No" [INFO] [stdout] ... | [INFO] [stdout] 25 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____move the `impl` block outside of this constant `_` and up 3 bodies [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `__macro_fallback` defines the non-local `impl`, and may need to be changed [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 macro `__macro_fallback` which comes from the expansion of the macro `try_invoke` (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/fallback.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | / try_invoke!(self::NoMacro!("Yes"); [INFO] [stdout] 27 | | impl NoMacro { [INFO] [stdout] | | ^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `NoMacro` is not local [INFO] [stdout] 28 | | pub const fn text() -> &'static str { [INFO] [stdout] 29 | | "No" [INFO] [stdout] ... | [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_____- move the `impl` block outside of this constant `_` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `__macro_fallback` defines the non-local `impl`, and may need to be changed [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 macro `__macro_fallback` which comes from the expansion of the macro `try_invoke` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `telety` may come from an old version of the `telety_macro` crate, try updating your dependency with `cargo update -p telety_macro` [INFO] [stdout] = note: this warning originates in the attribute macro `telety` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/util/types.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[telety(crate::util::types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this warning originates in the macro `__macro_fallback` (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 7.39s [INFO] running `Command { std: "docker" "inspect" "cc3269f1b39ffa4a08182d93c9c917e8725d0487b96942b6509ce93891725f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3269f1b39ffa4a08182d93c9c917e8725d0487b96942b6509ce93891725f6e", kill_on_drop: false }` [INFO] [stdout] cc3269f1b39ffa4a08182d93c9c917e8725d0487b96942b6509ce93891725f6e