[INFO] cloning repository https://github.com/pexip/os-rust-inventory
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pexip/os-rust-inventory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 87148d0e398682f65356cf2b0fc07e11460b070a
[INFO] checking pexip/os-rust-inventory against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pexip/os-rust-inventory
[INFO] finished tweaking git repo https://github.com/pexip/os-rust-inventory
[INFO] tweaked toml for git repo https://github.com/pexip/os-rust-inventory written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/pexip/os-rust-inventory 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trybuild v1.0.64
[INFO] [stderr]   Downloaded ghost v0.1.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd4f1070fa2f5dcbb24ac42d924612b94cb66b9da2f0472e9633848d71bd1d41
[INFO] running `Command { std: "docker" "start" "-a" "fd4f1070fa2f5dcbb24ac42d924612b94cb66b9da2f0472e9633848d71bd1d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd4f1070fa2f5dcbb24ac42d924612b94cb66b9da2f0472e9633848d71bd1d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd4f1070fa2f5dcbb24ac42d924612b94cb66b9da2f0472e9633848d71bd1d41", kill_on_drop: false }`
[INFO] [stdout] fd4f1070fa2f5dcbb24ac42d924612b94cb66b9da2f0472e9633848d71bd1d41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af4074405a0e35011aae02279cce6767b3983eff31d2cddd2a6af63e5f0365b4
[INFO] running `Command { std: "docker" "start" "-a" "af4074405a0e35011aae02279cce6767b3983eff31d2cddd2a6af63e5f0365b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling trybuild v1.0.64
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]    Compiling ctor v0.1.23
[INFO] [stderr]    Compiling ghost v0.1.6
[INFO] [stderr]     Checking inventory v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.79s
[INFO] running `Command { std: "docker" "inspect" "af4074405a0e35011aae02279cce6767b3983eff31d2cddd2a6af63e5f0365b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af4074405a0e35011aae02279cce6767b3983eff31d2cddd2a6af63e5f0365b4", kill_on_drop: false }`
[INFO] [stdout] af4074405a0e35011aae02279cce6767b3983eff31d2cddd2a6af63e5f0365b4
[INFO] checking pexip/os-rust-inventory against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pexip/os-rust-inventory
[INFO] finished tweaking git repo https://github.com/pexip/os-rust-inventory
[INFO] tweaked toml for git repo https://github.com/pexip/os-rust-inventory written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/pexip/os-rust-inventory 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b2d74c11b31d260bfd4663225ead0eb977ce6de30352686a3fd8bb0f35bc623
[INFO] running `Command { std: "docker" "start" "-a" "8b2d74c11b31d260bfd4663225ead0eb977ce6de30352686a3fd8bb0f35bc623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b2d74c11b31d260bfd4663225ead0eb977ce6de30352686a3fd8bb0f35bc623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b2d74c11b31d260bfd4663225ead0eb977ce6de30352686a3fd8bb0f35bc623", kill_on_drop: false }`
[INFO] [stdout] 8b2d74c11b31d260bfd4663225ead0eb977ce6de30352686a3fd8bb0f35bc623
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b7e1c4615ac2990cf1b499432d8a692deb08e6b1e96b0ef0102b2b5bed53ac2
[INFO] running `Command { std: "docker" "start" "-a" "2b7e1c4615ac2990cf1b499432d8a692deb08e6b1e96b0ef0102b2b5bed53ac2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling trybuild v1.0.64
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]    Compiling ctor v0.1.23
[INFO] [stderr]    Compiling ghost v0.1.6
[INFO] [stderr]     Checking inventory v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 251 | /     impl<T: Collect> IntoIterator for iter<T> {
[INFO] [stdout] 252 | |         type Item = &'static T;
[INFO] [stdout] 253 | |         type IntoIter = Iter<T>;
[INFO] [stdout] 254 | |
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |         }
[INFO] [stdout] 258 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `ITER`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:261:5
[INFO] [stdout]     |
[INFO] [stdout] 261 | /     impl<T: Collect> Deref for iter<T> {
[INFO] [stdout] 262 | |         type Target = fn() -> Iter<T>;
[INFO] [stdout] 263 | |         fn deref(&self) -> &Self::Target {
[INFO] [stdout] 264 | |             &(into_iter as fn() -> Iter<T>)
[INFO] [stdout] 265 | |         }
[INFO] [stdout] 266 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `ITER`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inventory` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2b7e1c4615ac2990cf1b499432d8a692deb08e6b1e96b0ef0102b2b5bed53ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b7e1c4615ac2990cf1b499432d8a692deb08e6b1e96b0ef0102b2b5bed53ac2", kill_on_drop: false }`
[INFO] [stdout] 2b7e1c4615ac2990cf1b499432d8a692deb08e6b1e96b0ef0102b2b5bed53ac2
